From 23770d625ed2a7a47e366905a88766186131bcd6 Mon Sep 17 00:00:00 2001 From: "joey.ljy" Date: Sat, 23 Mar 2024 05:02:38 +0800 Subject: [PATCH] Remove using namespace --- velox/functions/lib/aggregates/ValueList.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/velox/functions/lib/aggregates/ValueList.h b/velox/functions/lib/aggregates/ValueList.h index 8f8909133874..27dcce7853c2 100644 --- a/velox/functions/lib/aggregates/ValueList.h +++ b/velox/functions/lib/aggregates/ValueList.h @@ -23,8 +23,6 @@ #include "velox/vector/ComplexVector.h" #include "velox/vector/DecodedVector.h" -using namespace facebook::velox::exec; - namespace facebook::velox::aggregate { // Represents a list of values, including nulls, for an array/map/distinct value @@ -139,7 +137,9 @@ class ValueListReader { // vectors. // TODO: This API only works if it is the only logic writing to `writer`. template -void copyValueListToArrayWriter(ArrayWriter& writer, ValueList& elements) { +void copyValueListToArrayWriter( + facebook::velox::exec::ArrayWriter& writer, + ValueList& elements) { writer.resetLength(); auto size = elements.size(); if (size == 0) {