Skip to content

Commit

Permalink
Removed usage of removed is_regular function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lastique committed Jan 26, 2024
1 parent a668706 commit a10762e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/issues/3332/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int main(void)
{
std::cout << "[directory] " << iter->path().generic_string() << std::endl;
}
else if (fs::is_regular(*iter))
else if (fs::is_regular_file(*iter))
{
std::cout << " [file] " << iter->path().generic_string() << std::endl;
}
Expand Down

0 comments on commit a10762e

Please sign in to comment.