Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
bump C++ requirement to 17 (ns3 will need it for v3.26)
[simgrid.git] / src / xbt / PropertyHolder.cpp
index e77cd01..bb798c9 100644 (file)
@@ -43,7 +43,7 @@ template <class Assoc> void PropertyHolder::set_properties(const Assoc& properti
     properties_ = std::make_unique<std::unordered_map<std::string, std::string>>();
   std::unordered_map<std::string, std::string> props(std::cbegin(properties), std::cend(properties));
 #if __cplusplus >= 201703L
-  props.merge(properties_);
+  props.merge(*properties_);
 #else
   props.insert(properties_->cbegin(), properties_->cend());
 #endif