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
added circle placement for ns3 wifi nodes
[simgrid.git]
/
include
/
xbt
/
config.hpp
diff --git
a/include/xbt/config.hpp
b/include/xbt/config.hpp
index 86cfc8ec6e5e542d207d9c184f683517039e7b6c..28a83ecfa6e3f044c224b1a8832d957a89be4123 100644
(file)
--- a/
include/xbt/config.hpp
+++ b/
include/xbt/config.hpp
@@
-162,7
+162,7
@@
bind_flag(T& value, const char* name, const char* description, std::map<T, std::
found = true;
}
if (not found || std::string(val) == "help") {
found = true;
}
if (not found || std::string(val) == "help") {
- std::string mesg =
std::string("\n")
;
+ std::string mesg =
"\n"
;
if (std::string(val) == "help")
mesg += std::string("Possible values for option ") + name + ":\n";
else
if (std::string(val) == "help")
mesg += std::string("Possible values for option ") + name + ":\n";
else
@@
-286,7
+286,7
@@
public:
template<class U>
Flag& operator=(U const& that) { value_ = that; return *this; }
template<class U>
template<class U>
Flag& operator=(U const& that) { value_ = that; return *this; }
template<class U>
- Flag& operator=(U
&& that) { value_ = that
; return *this; }
+ Flag& operator=(U
&& that) { value_ = std::forward<U>(that)
; return *this; }
template<class U>
bool operator==(U const& that) const { return value_ == that; }
template<class U>
template<class U>
bool operator==(U const& that) const { return value_ == that; }
template<class U>