Skip to content

Commit

Permalink
Remove using namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
liujiayi771 committed Mar 22, 2024
1 parent fddba29 commit 23770d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions velox/functions/lib/aggregates/ValueList.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -139,7 +137,9 @@ class ValueListReader {
// vectors.
// TODO: This API only works if it is the only logic writing to `writer`.
template <typename T>
void copyValueListToArrayWriter(ArrayWriter<T>& writer, ValueList& elements) {
void copyValueListToArrayWriter(
facebook::velox::exec::ArrayWriter<T>& writer,
ValueList& elements) {
writer.resetLength();
auto size = elements.size();
if (size == 0) {
Expand Down

0 comments on commit 23770d6

Please sign in to comment.