summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/imagecache.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugingui/imagecache.cc b/plugingui/imagecache.cc
index 6ce1171..d3130fe 100644
--- a/plugingui/imagecache.cc
+++ b/plugingui/imagecache.cc
@@ -79,8 +79,7 @@ Image& ImageCache::borrow(const std::string& filename)
{
Image image(filename);
auto insertValue =
- imageCache.emplace(filename,
- std::move(std::make_pair(0, std::move(image))));
+ imageCache.emplace(filename, std::make_pair(0, std::move(image)));
cacheIterator = insertValue.first;
}