Skip to content

Commit

Permalink
fix macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchengchenghh committed Dec 16, 2024
1 parent 2c9a42e commit eb015a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions velox/serializers/RowSerializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class RowSerializer : public IterativeVectorSerializer {
}

BufferPtr buffer = AlignedBuffer::allocate<char>(totalSize, pool_, 0);
auto* rawBuffer = buffer->asMutable<char>();
auto* rawBuffer = buffer->template asMutable<char>();
buffers_.push_back(std::move(buffer));

serializeRanges(row, ranges, rawBuffer, rowSize);
Expand All @@ -83,7 +83,7 @@ class RowSerializer : public IterativeVectorSerializer {
}

BufferPtr buffer = AlignedBuffer::allocate<char>(totalSize, pool_, 0);
auto* rawBuffer = buffer->asMutable<char>();
auto* rawBuffer = buffer->template asMutable<char>();
buffers_.push_back(std::move(buffer));

size_t offset = 0;
Expand Down

0 comments on commit eb015a1

Please sign in to comment.