mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 17:15:39 +08:00
Fix a valgrind warning
Change-Id: I6be0f1d53df9661a158e80e5b1a901336a46fae6
This commit is contained in:
1 parent
73d30c9877
commit
ef12e0f2b9
1 file changed
+1
-1
@@ -621,7 +621,7 @@ RecordBatchWriter::~RecordBatchWriter() {}
|
||||
class StreamBookKeeper {
|
||||
public:
|
||||
StreamBookKeeper() : sink_(nullptr), position_(-1) {}
|
||||
explicit StreamBookKeeper(io::OutputStream* sink) : sink_(sink) {}
|
||||
explicit StreamBookKeeper(io::OutputStream* sink) : sink_(sink), position_(-1) {}
|
||||
|
||||
Status UpdatePosition() { return sink_->Tell(&position_); }
|
||||
|
||||
|
||||
Reference in new issue
Block a user