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
IIUC return std::move(...) is discouraged.
[simgrid.git]
/
include
/
xbt
/
config.hpp
diff --git
a/include/xbt/config.hpp
b/include/xbt/config.hpp
index b6f60f00f63b282faa128ff5a52005c4238305ac..1a04a570f998dcba6bb5c15c7b8d82016c19f445 100644
(file)
--- a/
include/xbt/config.hpp
+++ b/
include/xbt/config.hpp
@@
-41,7
+41,7
@@
inline std::string const& to_string(std::string const& value)
}
inline std::string to_string(std::string&& value)
{
- return
std::move(value)
;
+ return
value
;
}
// Set default