We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc1aac6 commit 67bb6ffCopy full SHA for 67bb6ff
src/storage/exec/IndexScanNode.h
@@ -258,7 +258,7 @@ class QualifiedStrategy {
258
q.func_ = [suffixSet = Set<std::string>(),
259
suffixLength = dedupSuffixLength](const folly::StringPiece& key) mutable -> Result {
260
std::string suffix = key.subpiece(key.size() - suffixLength, suffixLength).toString();
261
- auto [iter, result] = suffixSet.insert(std::move(suffix));
+ auto result = suffixSet.insert(std::move(suffix)).second;
262
return result ? Result::COMPATIBLE : Result::INCOMPATIBLE;
263
};
264
return q;
0 commit comments