From b67f20c2cf0c2a33b2fe9cff39b9af139eecdfa9 Mon Sep 17 00:00:00 2001 From: Chengcheng Jin Date: Fri, 13 Dec 2024 13:53:53 +0000 Subject: [PATCH] fix macos --- velox/serializers/RowSerializer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/velox/serializers/RowSerializer.h b/velox/serializers/RowSerializer.h index aaf7703d1630..7fd0c3b12507 100644 --- a/velox/serializers/RowSerializer.h +++ b/velox/serializers/RowSerializer.h @@ -108,8 +108,7 @@ class RowSerializer : public IterativeVectorSerializer { void flush(OutputStream* stream) override { for (const auto& buffer : buffers_) { - auto* rawBuffer = buffer->asMutable(); - stream->write(rawBuffer, buffer->size()); + stream->write(buffer->template asMutable(), buffer->size()); } buffers_.clear(); }