Boost logo

Boost-Commit :

From: ramey_at_[hidden]
Date: 2008-06-26 13:04:11


Author: ramey
Date: 2008-06-26 13:04:10 EDT (Thu, 26 Jun 2008)
New Revision: 46725
URL: http://svn.boost.org/trac/boost/changeset/46725

Log:
Addressing "Inspect" complaints
Text files modified:
   trunk/libs/serialization/test/A.hpp | 6 ++----
   trunk/libs/serialization/test/test_codecvt_null.cpp | 4 ++--
   trunk/libs/serialization/test/test_set.cpp | 7 ++++++-
   3 files changed, 10 insertions(+), 7 deletions(-)

Modified: trunk/libs/serialization/test/A.hpp
==============================================================================
--- trunk/libs/serialization/test/A.hpp (original)
+++ trunk/libs/serialization/test/A.hpp 2008-06-26 13:04:10 EDT (Thu, 26 Jun 2008)
@@ -16,18 +16,16 @@
 
 // See http://www.boost.org for updates, documentation, and revision history.
 
-#include <cstddef> // size_t
 #include <ostream> // for friend output operators
-
+#include <cstddef> // size_t
 #include <boost/config.hpp>
-#include <boost/detail/workaround.hpp>
-
 #if defined(BOOST_NO_STDC_NAMESPACE)
 namespace std{
     using ::size_t;
 }
 #endif
 
+#include <boost/detail/workaround.hpp>
 #include <boost/limits.hpp>
 #include <boost/cstdint.hpp>
 

Modified: trunk/libs/serialization/test/test_codecvt_null.cpp
==============================================================================
--- trunk/libs/serialization/test/test_codecvt_null.cpp (original)
+++ trunk/libs/serialization/test/test_codecvt_null.cpp 2008-06-26 13:04:10 EDT (Thu, 26 Jun 2008)
@@ -16,9 +16,9 @@
 #include <iterator>
 #include <locale>
 #include <vector>
-#include <cstddef> // NULL
-
 #include <cstdio> // remove
+#include <cstddef> // NULL, size_t
+
 #include <boost/config.hpp>
 #if defined(BOOST_NO_STDC_NAMESPACE)
 namespace std{

Modified: trunk/libs/serialization/test/test_set.cpp
==============================================================================
--- trunk/libs/serialization/test/test_set.cpp (original)
+++ trunk/libs/serialization/test/test_set.cpp 2008-06-26 13:04:10 EDT (Thu, 26 Jun 2008)
@@ -8,7 +8,7 @@
 
 // should pass compilation and execution
 
-#include <cstddef> // NULL
+#include <cstddef> // NULLsize_t
 #include <cstdio> // remove
 #include <fstream>
 
@@ -16,6 +16,11 @@
 #include <vector>
 
 #include <boost/config.hpp>
+#if defined(BOOST_NO_STDC_NAMESPACE)
+namespace std{
+ using ::size_t;
+}
+#endif
 
 #include <boost/detail/workaround.hpp>
 #if defined(BOOST_NO_STDC_NAMESPACE)


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