aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-10-13 17:23:52 -0400
committerJohn Newbery <john@johnnewbery.com>2017-10-13 17:23:52 -0400
commitf4c4e388843a9cf5fd4a289b1d6bce8eab6b2ce6 (patch)
treed39792c8c22085709841a96e7d171e3abfc56d9f /src
parent424be03305143cbe5da5d5adb54d73d3dc3747b6 (diff)
[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.
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 539adc23d5..9aac64ec09 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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")
{