Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu committed Jul 2, 2021
1 parent 411375e commit 9859dc6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/planner/plan/Query.h
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ class IndexScan : public Explore {
PlanNode* input,
GraphSpaceID space,
std::vector<IndexQueryContext>&& contexts,
std::vector<std::string> returnCols,
std::vector<std::string>&& returnCols,
bool isEdge,
int32_t schemaId,
bool isEmptyResultSet,
Expand Down
2 changes: 1 addition & 1 deletion src/util/FTIndexUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ StatusOr<Expression*> FTIndexUtils::rewriteTSFilter(
rels.emplace_back(RelationalExpression::makeEQ(pool, propExpr, constExpr));
}
if (rels.size() == 1) {
return std::move(rels[0]);
return rels.front();
}
return ExpressionUtils::pushOrs(pool, rels);
}
Expand Down
1 change: 0 additions & 1 deletion src/validator/LookupValidator.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "common/base/Base.h"
#include "common/interface/gen-cpp2/storage_types.h"
#include "common/plugin/fulltext/elasticsearch/ESGraphAdapter.h"
#include "common/thrift/ThriftTypes.h"
#include "parser/TraverseSentences.h"
#include "planner/plan/Query.h"
#include "validator/Validator.h"
Expand Down

0 comments on commit 9859dc6

Please sign in to comment.