Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-02-04 12:56:24


Author: hkaiser
Date: 2008-02-04 12:56:24 EST (Mon, 04 Feb 2008)
New Revision: 43097
URL: http://svn.boost.org/trac/boost/changeset/43097

Log:
Wave: trying to fix stdcxx_gcc regression.
Text files modified:
   branches/release/libs/wave/samples/cpp_tokens/slex_token.hpp | 8 +++++---
   1 files changed, 5 insertions(+), 3 deletions(-)

Modified: branches/release/libs/wave/samples/cpp_tokens/slex_token.hpp
==============================================================================
--- branches/release/libs/wave/samples/cpp_tokens/slex_token.hpp (original)
+++ branches/release/libs/wave/samples/cpp_tokens/slex_token.hpp 2008-02-04 12:56:24 EST (Mon, 04 Feb 2008)
@@ -82,11 +82,13 @@
     {
         using namespace std;
         using namespace boost::wave;
- stream << setw(16) << left << boost::wave::get_token_name(id) << " ("
+
+ stream << std::setw(16)
+ << std::left << boost::wave::get_token_name(id) << " ("
             << "#" << token_id(ID_FROM_TOKEN(*this))
             << ") at " << get_position().get_file() << " ("
- << setw(3) << right << get_position().get_line() << "/"
- << setw(2) << right << get_position().get_column()
+ << std::setw(3) << std::right << get_position().get_line() << "/"
+ << std::setw(2) << std::right << get_position().get_column()
             << "): >";
             
         for (std::size_t i = 0; i < value.size(); ++i) {


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