Fix a few warnings

This commit is contained in:
Léo Lam
2016-10-03 19:29:19 +02:00
parent e0bf9a1858
commit 04c1757b49
4 changed files with 6 additions and 8 deletions

View File

@ -138,7 +138,7 @@ void AdvancedConfigPane::OnClockOverrideSliderChanged(wxCommandEvent& event)
UpdateCPUClock();
}
u32 ToSeconds(wxDateTime date)
static u32 ToSeconds(wxDateTime date)
{
return static_cast<u32>(date.GetValue().GetValue() / 1000);
}

View File

@ -30,7 +30,7 @@
#include "DolphinWX/X11Utils.h"
#endif
static const std::array<std::string, 29> language_ids = {
static const std::array<std::string, 29> language_ids = {{
"",
"ms", "ca", "cs", "da", "de", "en", "es", "fr", "hr", "it", "hu", "nl",
@ -38,7 +38,7 @@ static const std::array<std::string, 29> language_ids = {
"pl", "pt", "pt_BR", "ro", "sr", "sv", "tr",
"el", "ru", "ar", "fa", "ko", "ja", "zh_CN", "zh_TW",
};
}};
InterfaceConfigPane::InterfaceConfigPane(wxWindow* parent, wxWindowID id) : wxPanel(parent, id)
{