Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70699 - trunk/boost
From: steven_at_[hidden]
Date: 2011-03-29 11:14:53


Author: steven_watanabe
Date: 2011-03-29 11:14:53 EDT (Tue, 29 Mar 2011)
New Revision: 70699
URL: http://svn.boost.org/trac/boost/changeset/70699

Log:
Suppress warnings on msvc 10.
Text files modified:
   trunk/boost/concept_check.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/concept_check.hpp
==============================================================================
--- trunk/boost/concept_check.hpp (original)
+++ trunk/boost/concept_check.hpp 2011-03-29 11:14:53 EDT (Tue, 29 Mar 2011)
@@ -562,10 +562,10 @@
     : ForwardIterator<TT>
   {
       BOOST_CONCEPT_USAGE(Mutable_ForwardIterator) {
- *i++ = *i; // require postincrement and assignment
+ *i++ = *j; // require postincrement and assignment
       }
    private:
- TT i;
+ TT i, j;
   };
 
   BOOST_concept(BidirectionalIterator,(TT))
@@ -591,10 +591,10 @@
   {
       BOOST_CONCEPT_USAGE(Mutable_BidirectionalIterator)
       {
- *i-- = *i; // require postdecrement and assignment
+ *i-- = *j; // require postdecrement and assignment
       }
    private:
- TT i;
+ TT i, j;
   };
 
   BOOST_concept(RandomAccessIterator,(TT))


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