A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use transparent comparator 'std::less<>' with associative string container (sonar).
[simgrid.git]
/
src
/
xbt
/
PropertyHolder.cpp
diff --git
a/src/xbt/PropertyHolder.cpp
b/src/xbt/PropertyHolder.cpp
index
cc5a7b4
..
6ed3c8a
100644
(file)
--- a/
src/xbt/PropertyHolder.cpp
+++ b/
src/xbt/PropertyHolder.cpp
@@
-50,7
+50,7
@@
template <class Assoc> void PropertyHolder::set_properties(const Assoc& properti
properties_->swap(props);
}
properties_->swap(props);
}
-template void PropertyHolder::set_properties(const std::map<std::string, std::string>& properties);
+template void PropertyHolder::set_properties(const std::map<std::string, std::string
, std::less<>
>& properties);
template void PropertyHolder::set_properties(const std::unordered_map<std::string, std::string>& properties);
} // namespace xbt
template void PropertyHolder::set_properties(const std::unordered_map<std::string, std::string>& properties);
} // namespace xbt