Fix a valgrind warning

Change-Id: I6be0f1d53df9661a158e80e5b1a901336a46fae6
This commit is contained in:
Wes McKinney committed 2017-08-24 15:02:28 -04:00
1 parent 73d30c9877
commit ef12e0f2b9
1 file changed
+1 -1
+1 -1
View File
@@ -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_); }