Skip to content

Commit

Permalink
Merge pull request boostorg#103 from jefftrull/feature/check-macro-na…
Browse files Browse the repository at this point in the history
…ming

Fix macro name check sample on Windows
  • Loading branch information
jefftrull authored Jun 27, 2020
2 parents bacb94f + d2610b0 commit 8139743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/check_macro_naming/check_macro_naming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ int main(int argc, char *argv[])
fs::recursive_directory_iterator dir_beg(dirname);
for (fs::recursive_directory_iterator it = dir_beg; it != dir_end; ++it) {
if (it->status().type() == fs::regular_file) {
std::string fn = it->path().native();
std::string fn = it->path().string();
if (regex_match(fn, header_regex))
process_header(fn, macro_regex);
}
Expand Down

0 comments on commit 8139743

Please sign in to comment.