Skip to content

Commit

Permalink
try to fix mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchengchenghh committed Dec 13, 2024
1 parent ed7f8ad commit d441322
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion velox/serializers/RowSerializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ class RowSerializer : public IterativeVectorSerializer {

void flush(OutputStream* stream) override {
for (const auto& buffer : buffers_) {
stream->write(buffer->asMutable<char>(), buffer->size());
auto* rawBuffer = buffer->asMutable<char>();
stream->write(rawBuffer, buffer->size());
}
buffers_.clear();
}
Expand Down

0 comments on commit d441322

Please sign in to comment.