Fix possbile conflict with SearchPathW
This commit is contained in:
parent
5aafb42b28
commit
ccc4bc793d
@ -120,7 +120,7 @@ DictionaryManager::get_dictionary(const Language& language)
|
||||
|
||||
dictionaries[language] = dict;
|
||||
|
||||
for (SearchPath::reverse_iterator p = search_path.rbegin(); p != search_path.rend(); ++p)
|
||||
for (Search_Path::reverse_iterator p = search_path.rbegin(); p != search_path.rend(); ++p)
|
||||
{
|
||||
std::vector<std::string> files = filesystem->open_directory(*p);
|
||||
|
||||
@ -191,7 +191,7 @@ DictionaryManager::get_languages()
|
||||
{
|
||||
std::set<Language> languages;
|
||||
|
||||
for (SearchPath::iterator p = search_path.begin(); p != search_path.end(); ++p)
|
||||
for (Search_Path::iterator p = search_path.begin(); p != search_path.end(); ++p)
|
||||
{
|
||||
std::vector<std::string> files = filesystem->open_directory(*p);
|
||||
|
||||
|
@ -42,8 +42,8 @@ private:
|
||||
typedef std::map<Language, Dictionary*> Dictionaries;
|
||||
Dictionaries dictionaries;
|
||||
|
||||
typedef std::vector<std::string> SearchPath;
|
||||
SearchPath search_path;
|
||||
typedef std::vector<std::string> Search_Path;
|
||||
Search_Path search_path;
|
||||
|
||||
std::string charset;
|
||||
bool use_fuzzy;
|
||||
|
Loading…
Reference in New Issue
Block a user