forked from mia/Aegisub
Fix non-pch compilation
This commit is contained in:
parent
d0ce26d7df
commit
402aa509a0
2 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,7 @@ void AegisubLocale::Init(std::string const& language) {
|
|||
|
||||
bool AegisubLocale::HasLanguage(std::string const& language) {
|
||||
auto langs = GetTranslations()->GetAvailableTranslations(AEGISUB_CATALOG);
|
||||
return find(langs.begin(), langs.end(), to_wx(language)) != end(langs);
|
||||
return std::find(langs.begin(), langs.end(), to_wx(language)) != langs.end();
|
||||
}
|
||||
|
||||
std::string AegisubLocale::PickLanguage() {
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <vector>
|
||||
|
||||
#include <wx/bitmap.h>
|
||||
#include <wx/intl.h>
|
||||
#include <wx/string.h>
|
||||
|
||||
#include <libaegisub/exception.h>
|
||||
|
|
Loading…
Reference in a new issue