Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-05-23 04:59:49


Author: jurko
Date: 2008-05-23 04:59:49 EDT (Fri, 23 May 2008)
New Revision: 45671
URL: http://svn.boost.org/trac/boost/changeset/45671

Log:
Worked around an unused variable compiler warning displayed in concept_check.hpp when _ITERATOR_ is not defined.
Text files modified:
   trunk/boost/concept_check.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/concept_check.hpp
==============================================================================
--- trunk/boost/concept_check.hpp (original)
+++ trunk/boost/concept_check.hpp 2008-05-23 04:59:49 EDT (Fri, 23 May 2008)
@@ -144,6 +144,8 @@
     void const_constraints(const TT& b) {
 #if !defined(_ITERATOR_) // back_insert_iterator broken for VC++ STL
       a = b; // const required for argument to assignment
+#else
+ ignore_unused_variable_warning(b);
 #endif
     }
    private:


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