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/gui/windows/minimap.cpp | |
parent | 36c45ae7d8d2577a900ec266b64448d4b488013d (diff) | |
download | manaverse-337a52a41ea44570da65586403f14248042f0169.tar.gz manaverse-337a52a41ea44570da65586403f14248042f0169.tar.bz2 manaverse-337a52a41ea44570da65586403f14248042f0169.tar.xz manaverse-337a52a41ea44570da65586403f14248042f0169.zip |
Use std::move in some places.
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r-- | src/gui/windows/minimap.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp index 95d606618..7f48f4a10 100644 --- a/src/gui/windows/minimap.cpp +++ b/src/gui/windows/minimap.cpp @@ -54,6 +54,7 @@ #include "utils/gettext.h" #include "utils/foreach.h" #include "utils/sdlcheckutils.h" +#include "utils/stdmove.h" #include "debug.h" @@ -190,7 +191,7 @@ void Minimap::setMap(const Map *const map) tempname = pathJoin("graphics/minimaps", map->getFilename()).append(".png"); if (VirtFs::exists(tempname)) - minimapName = tempname; + minimapName = STD_MOVE(tempname); } if (!minimapName.empty()) |