Skip to content

Commit 67bb6ff

Browse files
authored
fix unused variable (#3442)
1 parent bc1aac6 commit 67bb6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage/exec/IndexScanNode.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class QualifiedStrategy {
258258
q.func_ = [suffixSet = Set<std::string>(),
259259
suffixLength = dedupSuffixLength](const folly::StringPiece& key) mutable -> Result {
260260
std::string suffix = key.subpiece(key.size() - suffixLength, suffixLength).toString();
261-
auto [iter, result] = suffixSet.insert(std::move(suffix));
261+
auto result = suffixSet.insert(std::move(suffix)).second;
262262
return result ? Result::COMPATIBLE : Result::INCOMPATIBLE;
263263
};
264264
return q;

0 commit comments

Comments
 (0)