Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49281 - in trunk/libs/config: test tools
From: john_at_[hidden]
Date: 2008-10-11 11:40:44


Author: johnmaddock
Date: 2008-10-11 11:40:44 EDT (Sat, 11 Oct 2008)
New Revision: 49281
URL: http://svn.boost.org/trac/boost/changeset/49281

Log:
Fix Inspection report issues.
Text files modified:
   trunk/libs/config/test/boost_no_nested_friendship.ipp | 7 +++++++
   trunk/libs/config/test/boost_no_typename_with_ctor.ipp | 7 +++++++
   trunk/libs/config/tools/generate.cpp | 6 +++---
   3 files changed, 17 insertions(+), 3 deletions(-)

Modified: trunk/libs/config/test/boost_no_nested_friendship.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_nested_friendship.ipp (original)
+++ trunk/libs/config/test/boost_no_nested_friendship.ipp 2008-10-11 11:40:44 EDT (Sat, 11 Oct 2008)
@@ -1,3 +1,10 @@
+// Copyright (C) 2008 N. Musatti
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for most recent version.
+
 // MACRO: BOOST_NO_NESTED_FRIENDSHIP
 // TITLE: Access to private members from nested classes
 // DESCRIPTION: If the compiler fails to support access to private members

Modified: trunk/libs/config/test/boost_no_typename_with_ctor.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_typename_with_ctor.ipp (original)
+++ trunk/libs/config/test/boost_no_typename_with_ctor.ipp 2008-10-11 11:40:44 EDT (Sat, 11 Oct 2008)
@@ -1,3 +1,10 @@
+// Copyright (C) 2008 N. Musatti
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for most recent version.
+
 // MACRO: BOOST_NO_TYPENAME_WITH_CTOR
 // TITLE: Use of typename keyword with constructors
 // DESCRIPTION: If the compiler rejects the typename keyword when calling

Modified: trunk/libs/config/tools/generate.cpp
==============================================================================
--- trunk/libs/config/tools/generate.cpp (original)
+++ trunk/libs/config/tools/generate.cpp 2008-10-11 11:40:44 EDT (Sat, 11 Oct 2008)
@@ -156,12 +156,12 @@
          "# 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";


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk