[trivial] Make namespace explicit for is_regular_file

is_regular_file resolves using argument dependent lookup. Make the
namespace explicit so it's obvious where the function is defined.
This commit is contained in:
John Newbery 2017-10-13 17:23:52 -04:00
parent 424be03305
commit f4c4e38884

View file

@ -588,7 +588,7 @@ void CleanupBlockRevFiles()
LogPrintf("Removing unusable blk?????.dat and rev?????.dat files for -reindex with -prune\n");
fs::path blocksdir = GetDataDir() / "blocks";
for (fs::directory_iterator it(blocksdir); it != fs::directory_iterator(); it++) {
if (is_regular_file(*it) &&
if (fs::is_regular_file(*it) &&
it->path().filename().string().length() == 12 &&
it->path().filename().string().substr(8,4) == ".dat")
{