This commit is contained in:
parent
c6b3c56174
commit
3089fc393b
|
@ -94,7 +94,7 @@ std::string FileLister::addFiles(std::map<std::string, std::size_t> &files, cons
|
||||||
// no files matched
|
// no files matched
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
return "finding files failed (error: " + std::to_string(err) + ")";
|
return "finding files failed. Search pattern: '" + searchPattern + "'. (error: " + std::to_string(err) + ")";
|
||||||
}
|
}
|
||||||
std::unique_ptr<void, decltype(&FindClose)> hFind_deleter(hFind, FindClose);
|
std::unique_ptr<void, decltype(&FindClose)> hFind_deleter(hFind, FindClose);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue