summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r--src/gui/windows/minimap.cpp3
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())