Fix for GCC-4.8 warning (refs #8547)

[SVN r84136]
This commit is contained in:
Antony Polukhin
2013-05-04 12:48:26 +00:00
parent 93a01eba32
commit c3c44c208a

View File

@@ -19,7 +19,7 @@
// Beman Dawes, Dave Abrahams, Daryle Walker, Peter Dimov, // Beman Dawes, Dave Abrahams, Daryle Walker, Peter Dimov,
// Alexander Nasonov, Antony Polukhin, Justin Viiret, Michael Hofmann, // Alexander Nasonov, Antony Polukhin, Justin Viiret, Michael Hofmann,
// Cheng Yang, Matthew Bradbury, David W. Birdsall, Pavel Korzh and other Boosters // Cheng Yang, Matthew Bradbury, David W. Birdsall, Pavel Korzh and other Boosters
// when: November 2000, March 2003, June 2005, June 2006, March 2011 - 2012 // when: November 2000, March 2003, June 2005, June 2006, March 2011 - 2013
#include <boost/config.hpp> #include <boost/config.hpp>
#if defined(BOOST_NO_STRINGSTREAM) || defined(BOOST_NO_STD_WSTRING) #if defined(BOOST_NO_STRINGSTREAM) || defined(BOOST_NO_STD_WSTRING)
@@ -880,7 +880,6 @@ namespace boost {
#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS #ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
BOOST_STATIC_ASSERT(!std::numeric_limits<T>::is_signed); BOOST_STATIC_ASSERT(!std::numeric_limits<T>::is_signed);
#endif #endif
typedef typename Traits::int_type int_type;
CharT const czero = lcast_char_constants<CharT>::zero; CharT const czero = lcast_char_constants<CharT>::zero;
--end; --end;
value = 0; value = 0;
@@ -2712,7 +2711,7 @@ namespace boost {
// Copyright Kevlin Henney, 2000-2005. // Copyright Kevlin Henney, 2000-2005.
// Copyright Alexander Nasonov, 2006-2010. // Copyright Alexander Nasonov, 2006-2010.
// Copyright Antony Polukhin, 2011-2012. // Copyright Antony Polukhin, 2011-2013.
// //
// Distributed under the Boost Software License, Version 1.0. (See // Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at // accompanying file LICENSE_1_0.txt or copy at