summaryrefslogtreecommitdiff
path: root/wx+/image_resources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/image_resources.cpp')
-rw-r--r--wx+/image_resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/image_resources.cpp b/wx+/image_resources.cpp
index 3c471e2c..062ad88c 100644
--- a/wx+/image_resources.cpp
+++ b/wx+/image_resources.cpp
@@ -84,7 +84,7 @@ void GlobalResources::init(const Zstring& filepath)
//generic image loading
if (endsWith(name, L".png"))
- bitmaps.insert(std::make_pair(name, wxImage(streamIn, wxBITMAP_TYPE_PNG)));
+ bitmaps.emplace(name, wxImage(streamIn, wxBITMAP_TYPE_PNG));
else if (endsWith(name, L".gif"))
loadAnimFromZip(streamIn, anims[name]);
}
bgstack15