diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-29 21:44:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-29 21:44:11 +0300 |
commit | 337a52a41ea44570da65586403f14248042f0169 (patch) | |
tree | 27f58dd5f9c9f50310c94c649595a9e7f8e00455 /src/resources/db/unitsdb.cpp | |
parent | 36c45ae7d8d2577a900ec266b64448d4b488013d (diff) | |
download | manaplus-337a52a41ea44570da65586403f14248042f0169.tar.gz manaplus-337a52a41ea44570da65586403f14248042f0169.tar.bz2 manaplus-337a52a41ea44570da65586403f14248042f0169.tar.xz manaplus-337a52a41ea44570da65586403f14248042f0169.zip |
Use std::move in some places.
Diffstat (limited to 'src/resources/db/unitsdb.cpp')
-rw-r--r-- | src/resources/db/unitsdb.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/unitsdb.cpp b/src/resources/db/unitsdb.cpp index 9481406c4..e9b310c6d 100644 --- a/src/resources/db/unitsdb.cpp +++ b/src/resources/db/unitsdb.cpp @@ -27,6 +27,7 @@ #include "const/resources/currency.h" #include "utils/checkutils.h" +#include "utils/stdmove.h" #include "resources/beingcommon.h" @@ -372,7 +373,7 @@ static std::string splitNumber(std::string str, if (!result.empty()) result = std::string(str).append(separator).append(result); else - result = str; + result = STD_MOVE(str); } } |