Skip to content

Commit

Permalink
fix unused variable (#3442)
Browse files Browse the repository at this point in the history
  • Loading branch information
panda-sheep authored Dec 9, 2021
1 parent bc1aac6 commit 67bb6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/exec/IndexScanNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class QualifiedStrategy {
q.func_ = [suffixSet = Set<std::string>(),
suffixLength = dedupSuffixLength](const folly::StringPiece& key) mutable -> Result {
std::string suffix = key.subpiece(key.size() - suffixLength, suffixLength).toString();
auto [iter, result] = suffixSet.insert(std::move(suffix));
auto result = suffixSet.insert(std::move(suffix)).second;
return result ? Result::COMPATIBLE : Result::INCOMPATIBLE;
};
return q;
Expand Down

0 comments on commit 67bb6ff

Please sign in to comment.