diff options
Diffstat (limited to 'plugingui/imagecache.cc')
-rw-r--r-- | plugingui/imagecache.cc | 3 |
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; } |