Fix warnings

This commit is contained in:
Tillmann Karras 2017-06-24 01:41:58 +01:00
parent ced53e2920
commit c8255092d7
2 changed files with 6 additions and 5 deletions

View File

@ -45,8 +45,9 @@ FileSearchWithTest(const std::vector<std::string>& directories, bool recursive,
return result; return result;
} }
std::vector<std::string> DoFileSearchNoSTL(const std::vector<std::string>& directories, static std::vector<std::string> DoFileSearchNoSTL(const std::vector<std::string>& directories,
const std::vector<std::string>& exts, bool recursive) const std::vector<std::string>& exts,
bool recursive)
{ {
bool accept_all = exts.empty(); bool accept_all = exts.empty();
return FileSearchWithTest(directories, recursive, [&](const File::FSTEntry& entry) { return FileSearchWithTest(directories, recursive, [&](const File::FSTEntry& entry) {

View File

@ -399,7 +399,7 @@ void FilesystemPanel::ExtractSingleDirectory(const wxString& output_folder)
} }
} }
void ExtractDir(const std::string& full_path, const std::string& output_folder, static void ExtractDir(const std::string& full_path, const std::string& output_folder,
const DiscIO::FileSystem& file_system, const DiscIO::FileInfo& directory, const DiscIO::FileSystem& file_system, const DiscIO::FileInfo& directory,
const std::function<bool(const std::string& path)>& update_progress) const std::function<bool(const std::string& path)>& update_progress)
{ {