Merge pull request #1397 from comex/std-array-warning

Use double braces for std:array initialization to avoid clang warning.
This commit is contained in:
Lioncash 2014-10-25 16:27:01 -04:00
commit 26adb3cf84
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ CheatSearchTab::CheatSearchTab(wxWindow* const parent)
m_btn_next_scan->Disable();
// data sizes radiobox
std::array<wxString, 3> data_size_names = { _("8-bit"), _("16-bit"), _("32-bit") };
std::array<wxString, 3> data_size_names = {{ _("8-bit"), _("16-bit"), _("32-bit") }};
m_data_sizes = new wxRadioBox(this, wxID_ANY, _("Data Size"), wxDefaultPosition, wxDefaultSize, static_cast<int>(data_size_names.size()), data_size_names.data());
// result controls