================
@@ -83,7 +83,7 @@ void PDLPatternModule::mergeIn(PDLPatternModule &&other) {
for (auto &it : other.configs)
configs.emplace_back(std::move(it));
for (auto &it : other.configMap)
- configMap.insert(it);
+ configMap.try_emplace(it.first, it.second);
----------------
MaskRay wrote:
thx. adopted!
https://github.com/llvm/llvm-project/pull/221853
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits