Fix Inspection report issues.

[SVN r49281]
This commit is contained in:
John Maddock
2008-10-11 15:40:44 +00:00
parent 4cb054bf64
commit f4ff5f8806
3 changed files with 17 additions and 3 deletions
+3 -3
View File
@@ -156,12 +156,12 @@ void write_test_file(const fs::path& file,
"# undef BOOST_ASSERT_CONFIG\n"
"#endif\n\n";
static const boost::regex tr1_exp("BOOST_HAS_TR1.*");
static const boost::regex tr1_exp("BOOST_HAS_TR1.*");
ofs << "#include <boost/config.hpp>\n";
if(regex_match(macro_name, tr1_exp))
ofs << "#include <boost/tr1/detail/config.hpp>\n";
if(regex_match(macro_name, tr1_exp))
ofs << "#include <boost/tr1/detail/config.hpp>\n";
ofs << "#include \"test.hpp\"\n\n"
"#if";