We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0224fd7 commit b047dd2Copy full SHA for b047dd2
src/iso19111/factory.cpp
@@ -9292,12 +9292,11 @@ AuthorityFactory::createObjectsFromNameEx(
9292
const auto &table_name = row[0];
9293
const auto &auth_name = row[1];
9294
const auto &code = row[2];
9295
- const auto key =
9296
- std::pair<std::string, std::string>(auth_name, code);
+ auto key = std::pair<std::string, std::string>(auth_name, code);
9297
if (setIdentified.find(key) != setIdentified.end()) {
9298
continue;
9299
}
9300
- setIdentified.insert(key);
+ setIdentified.insert(std::move(key));
9301
const auto &deprecatedStr = row[4];
9302
if (isFirst) {
9303
firstIsDeprecated = deprecatedStr == "1";
0 commit comments