diff options
author | Daniel Wilhelm <shieldwed@outlook.com> | 2018-05-09 00:09:55 +0200 |
---|---|---|
committer | Daniel Wilhelm <shieldwed@outlook.com> | 2018-05-09 00:09:55 +0200 |
commit | 9b623ea3943165fe7efb5e47a0b5b9452c1599e6 (patch) | |
tree | dde40e07e907ac6e0ca9ea32524f2cd4810d4be6 /wx+/choice_enum.h | |
parent | 9.7 (diff) | |
download | FreeFileSync-9b623ea3943165fe7efb5e47a0b5b9452c1599e6.tar.gz FreeFileSync-9b623ea3943165fe7efb5e47a0b5b9452c1599e6.tar.bz2 FreeFileSync-9b623ea3943165fe7efb5e47a0b5b9452c1599e6.zip |
9.8
Diffstat (limited to 'wx+/choice_enum.h')
-rwxr-xr-x | wx+/choice_enum.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wx+/choice_enum.h b/wx+/choice_enum.h index a19e1457..6b2edd01 100755 --- a/wx+/choice_enum.h +++ b/wx+/choice_enum.h @@ -33,7 +33,6 @@ Update enum tooltips (after user changed selection): updateTooltipEnumVal(enumDescrMap, *m_choiceHandleError); */ - namespace zen { template <class Enum> @@ -41,7 +40,7 @@ struct EnumDescrList { EnumDescrList& add(Enum value, const wxString& text, const wxString& tooltip = {}) { - descrList.emplace_back(value, std::make_pair(text, tooltip)); + descrList.push_back({ value, { text, tooltip } }); return *this; } using DescrList = std::vector<std::pair<Enum, std::pair<wxString, wxString>>>; |