Compilation error fix in DEBUG.
This commit is contained in:
parent
63ae574a99
commit
fd79f73610
1 changed files with 5 additions and 1 deletions
|
@ -58,8 +58,12 @@ void CleanupMapsDirectory()
|
|||
platform.GetFilesByType(subdirPath,
|
||||
Platform::FILE_TYPE_REGULAR | Platform::FILE_TYPE_DIRECTORY, files);
|
||||
if (all_of(files.begin(), files.end(), &IsSpecialFile))
|
||||
VERIFY(Platform::ERR_OK == Platform::RmDir(subdirPath),
|
||||
{
|
||||
Platform::EError const ret = Platform::RmDir(subdirPath);
|
||||
ASSERT_EQUAL(Platform::ERR_OK, ret,
|
||||
("Can't remove empty directory:", subdirPath, "error:", ret));
|
||||
UNUSED_VALUE(ret);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue