summaryrefslogtreecommitdiff
path: root/wx+/choice_enum.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:53:20 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:53:20 +0200
commit94db751716dd2851f99b5c4c2981da1d1f4780f8 (patch)
treee4ffc9f5ae2b2873f267a6e5d3d2092c8aad49a7 /wx+/choice_enum.h
parent6.10 (diff)
downloadFreeFileSync-94db751716dd2851f99b5c4c2981da1d1f4780f8.tar.gz
FreeFileSync-94db751716dd2851f99b5c4c2981da1d1f4780f8.tar.bz2
FreeFileSync-94db751716dd2851f99b5c4c2981da1d1f4780f8.zip
6.11
Diffstat (limited to 'wx+/choice_enum.h')
-rw-r--r--wx+/choice_enum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/choice_enum.h b/wx+/choice_enum.h
index e06931d5..57718158 100644
--- a/wx+/choice_enum.h
+++ b/wx+/choice_enum.h
@@ -41,7 +41,7 @@ struct EnumDescrList
{
EnumDescrList& add(Enum value, const wxString& text, const wxString& tooltip = wxEmptyString)
{
- descrList.push_back(std::make_pair(value, std::make_pair(text, tooltip)));
+ descrList.emplace_back(value, std::make_pair(text, tooltip));
return *this;
}
typedef std::vector<std::pair<Enum, std::pair<wxString, wxString>>> DescrList;
bgstack15