Skip to content

Commit

Permalink
Fix double right angle brackets for older compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
jefftrull committed Jun 15, 2020
1 parent f634b83 commit 5464ade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/check_macro_naming/check_macro_naming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ int main(int argc, char *argv[])
("help,h", "print out options")
("match", po::value<std::string>()->default_value("^BOOST_.*"),
"pattern defined macros must match")
("exclude", po::value<std::vector<std::string>>(), "subdirectory to skip");
("exclude", po::value<std::vector<std::string> >(), "subdirectory to skip");

// positional arguments
po::positional_options_description p;
Expand Down Expand Up @@ -138,7 +138,7 @@ int main(int argc, char *argv[])
boost::regex macro_regex(vm["match"].as<std::string>());
std::vector<std::string> exclude_dirnames;
if (vm.count("exclude"))
exclude_dirnames = vm["exclude"].as<std::vector<std::string>>();
exclude_dirnames = vm["exclude"].as<std::vector<std::string> >();

// get our single positional parameter - the directory to process
std::string dirname = vm["dirname"].as<std::string>();
Expand Down

0 comments on commit 5464ade

Please sign in to comment.