Rename SearchPath class Searchpath

Windows headers define SearchPath which means we have to undefine it
where necessary. This is a pain and can be tricksy, so I feel renaming
the class slightly is the easiest solution.
This commit is contained in:
Tim Mayberry 2013-08-15 20:04:08 +10:00
parent e6c7ecf0e3
commit 8ddd12a60d
46 changed files with 125 additions and 189 deletions

View file

@ -104,7 +104,7 @@ find_matching_files_in_directories (const vector<std::string>& paths,
}
void
find_matching_files_in_search_path (const SearchPath& search_path,
find_matching_files_in_search_path (const Searchpath& search_path,
const Glib::PatternSpec& pattern,
vector<std::string>& result)
{
@ -112,7 +112,7 @@ find_matching_files_in_search_path (const SearchPath& search_path,
}
bool
find_file_in_search_path(const SearchPath& search_path,
find_file_in_search_path(const Searchpath& search_path,
const string& filename,
std::string& result)
{