FileChecker: return true if no sizes.txt file exists [#METR-11709]

This commit is contained in:
Pavel Kartavyy 2014-08-05 17:41:07 +04:00
parent c399e1d14a
commit e4dbe3c242

View File

@ -50,6 +50,7 @@ public:
bool check() const bool check() const
{ {
bool correct = true; bool correct = true;
if (!files_info.empty())
for (auto & node : files_info.get_child("yandex")) for (auto & node : files_info.get_child("yandex"))
{ {
std::string filename = unescapeForFileName(node.first); std::string filename = unescapeForFileName(node.first);