Skip to content

Commit f4c4e38

Browse files
committed
[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.
1 parent 424be03 commit f4c4e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ void CleanupBlockRevFiles()
588588
LogPrintf("Removing unusable blk?????.dat and rev?????.dat files for -reindex with -prune\n");
589589
fs::path blocksdir = GetDataDir() / "blocks";
590590
for (fs::directory_iterator it(blocksdir); it != fs::directory_iterator(); it++) {
591-
if (is_regular_file(*it) &&
591+
if (fs::is_regular_file(*it) &&
592592
it->path().filename().string().length() == 12 &&
593593
it->path().filename().string().substr(8,4) == ".dat")
594594
{

0 commit comments

Comments
 (0)