Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84066 - in branches/release/boost/archive: . impl
From: ramey_at_[hidden]
Date: 2013-04-28 11:46:03


Author: ramey
Date: 2013-04-28 11:46:02 EDT (Sun, 28 Apr 2013)
New Revision: 84066
URL: http://svn.boost.org/trac/boost/changeset/84066

Log:
very minor change - don't remember what provoked it!
Text files modified:
   branches/release/boost/archive/basic_text_iprimitive.hpp | 16 +++++++---------
   branches/release/boost/archive/impl/basic_text_iprimitive.ipp | 6 +++---
   2 files changed, 10 insertions(+), 12 deletions(-)

Modified: branches/release/boost/archive/basic_text_iprimitive.hpp
==============================================================================
--- branches/release/boost/archive/basic_text_iprimitive.hpp (original)
+++ branches/release/boost/archive/basic_text_iprimitive.hpp 2013-04-28 11:46:02 EDT (Sun, 28 Apr 2013)
@@ -9,7 +9,7 @@
 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
 // basic_text_iprimitive.hpp
 
-// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
+// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
 // Use, modification and distribution is 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)
@@ -30,8 +30,8 @@
 
 #include <boost/config.hpp>
 #if defined(BOOST_NO_STDC_NAMESPACE)
-namespace std{
- using ::size_t;
+namespace std{
+ using ::size_t;
     #if ! defined(BOOST_DINKUMWARE_STDLIB) && ! defined(__SGI_STL_PORT)
         using ::locale;
     #endif
@@ -78,7 +78,7 @@
     #ifndef BOOST_NO_STD_LOCALE
     boost::scoped_ptr<std::locale> archive_locale;
     basic_streambuf_locale_saver<
- BOOST_DEDUCED_TYPENAME IStream::char_type,
+ BOOST_DEDUCED_TYPENAME IStream::char_type,
         BOOST_DEDUCED_TYPENAME IStream::traits_type
> locale_saver;
     #endif
@@ -86,10 +86,8 @@
     template<class T>
     void load(T & t)
     {
- if(! is.fail()){
- is >> t;
+ if(is >> t)
             return;
- }
         boost::serialization::throw_exception(
             archive_exception(archive_exception::input_stream_error)
         );
@@ -123,9 +121,9 @@
         t = i;
     }
     #endif
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
     basic_text_iprimitive(IStream &is, bool no_codecvt);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
     ~basic_text_iprimitive();
 public:
     BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)

Modified: branches/release/boost/archive/impl/basic_text_iprimitive.ipp
==============================================================================
--- branches/release/boost/archive/impl/basic_text_iprimitive.ipp (original)
+++ branches/release/boost/archive/impl/basic_text_iprimitive.ipp 2013-04-28 11:46:02 EDT (Sun, 28 Apr 2013)
@@ -13,8 +13,8 @@
 
 #include <boost/config.hpp>
 #if defined(BOOST_NO_STDC_NAMESPACE)
-namespace std{
- using ::size_t;
+namespace std{
+ using ::size_t;
 } // namespace std
 #endif
 
@@ -30,7 +30,7 @@
 #include <boost/archive/iterators/binary_from_base64.hpp>
 #include <boost/archive/iterators/transform_width.hpp>
 
-namespace boost {
+namespace boost {
 namespace archive {
 
 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