Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2007-11-27 13:18:11


Author: hkaiser
Date: 2007-11-27 13:18:10 EST (Tue, 27 Nov 2007)
New Revision: 41418
URL: http://svn.boost.org/trac/boost/changeset/41418

Log:
Wave: Fixed gcc warning, bumped version number.
Text files modified:
   trunk/boost/wave/util/flex_string.hpp | 6 +++---
   trunk/boost/wave/wave_version.hpp | 4 ++--
   2 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/wave/util/flex_string.hpp
==============================================================================
--- trunk/boost/wave/util/flex_string.hpp (original)
+++ trunk/boost/wave/util/flex_string.hpp 2007-11-27 13:18:10 EST (Tue, 27 Nov 2007)
@@ -24,7 +24,7 @@
 // - Incorporated the changes from Andrei's latest version of this class
 //
 // #HK070307:
-// - One again incorporated the changes from Andrei's latest version of
+// - Once again incorporated the changes from Andrei's latest version of
 // this class
 
 #ifndef FLEX_STRING_INC_
@@ -705,8 +705,8 @@
 
         if (capacity() < neededCapacity)
         {
- static std::less_equal<const E*> le;
- BOOST_ASSERT(!(le(begin(), &*b) && le(&*b, end())));
+ typedef std::less_equal<const E*> le_type;
+ BOOST_ASSERT(!(le_type()(begin(), &*b) && le_type()(&*b, end())));
             reserve(neededCapacity);
         }
         std::copy(b, e, end());

Modified: trunk/boost/wave/wave_version.hpp
==============================================================================
--- trunk/boost/wave/wave_version.hpp (original)
+++ trunk/boost/wave/wave_version.hpp 2007-11-27 13:18:10 EST (Tue, 27 Nov 2007)
@@ -16,11 +16,11 @@
 // BOOST_WAVE_VERSION & 0x0000FF is the sub-minor version
 // BOOST_WAVE_VERSION & 0x00FF00 is the minor version
 // BOOST_WAVE_VERSION & 0xFF0000 is the major version
-#define BOOST_WAVE_VERSION 0x010300
+#define BOOST_WAVE_VERSION 0x010400
 
 // The following defines contain the same information as above
 #define BOOST_WAVE_VERSION_MAJOR 1
-#define BOOST_WAVE_VERSION_MINOR 3
+#define BOOST_WAVE_VERSION_MINOR 4
 #define BOOST_WAVE_VERSION_SUBMINOR 0
 
 #endif // !defined(WAVE_VERSION_H_9D79ABDB_AC54_4C0A_89B1_F70A2DCFE21E_INCLUDED)


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