summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 21:44:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 21:44:11 +0300
commit337a52a41ea44570da65586403f14248042f0169 (patch)
tree27f58dd5f9c9f50310c94c649595a9e7f8e00455 /src/resources/db/itemdb.cpp
parent36c45ae7d8d2577a900ec266b64448d4b488013d (diff)
downloadmanaplus-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/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 440b69d16..57000cf95 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -45,6 +45,7 @@
#include "utils/delete2.h"
#include "utils/dtor.h"
#include "utils/foreach.h"
+#include "utils/stdmove.h"
#include "utils/stringmap.h"
#include "utils/translation/podict.h"
@@ -355,7 +356,7 @@ void ItemDB::loadXmlFile(const std::string &fileName,
SpriteDisplay display;
display.image = image;
if (!floor.empty())
- display.floor = floor;
+ display.floor = STD_MOVE(floor);
else
display.floor = image;