Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74293 - trunk/boost/spirit/home/support
From: joel_at_[hidden]
Date: 2011-09-07 01:08:21


Author: djowel
Date: 2011-09-07 01:08:20 EDT (Wed, 07 Sep 2011)
New Revision: 74293
URL: http://svn.boost.org/trac/boost/changeset/74293

Log:
Reverting patch. The tests are broken with the patch!
Text files modified:
   trunk/boost/spirit/home/support/info.hpp | 10 ++--------
   1 files changed, 2 insertions(+), 8 deletions(-)

Modified: trunk/boost/spirit/home/support/info.hpp
==============================================================================
--- trunk/boost/spirit/home/support/info.hpp (original)
+++ trunk/boost/spirit/home/support/info.hpp 2011-09-07 01:08:20 EDT (Wed, 07 Sep 2011)
@@ -15,7 +15,6 @@
 #include <boost/variant/recursive_variant.hpp>
 #include <boost/variant/apply_visitor.hpp>
 #include <boost/foreach.hpp>
-#include <boost/locale/encoding_utf.hpp>
 #include <boost/spirit/home/support/utf8.hpp>
 #include <list>
 #include <iterator>
@@ -128,7 +127,6 @@
     struct simple_printer
     {
         typedef utf8_string string;
- typedef typename Out::char_type char_type;
 
         simple_printer(Out& out)
           : out(out) {}
@@ -136,13 +134,9 @@
         void element(string const& tag, string const& value, int /*depth*/) const
         {
             if (value == "")
- out << char_type('<')
- << locale::conv::utf_to_utf<char_type>(tag)
- << char_type('>');
+ out << '<' << tag << '>';
             else
- out << char_type('"')
- << locale::conv::utf_to_utf<char_type>(value)
- << char_type('"');
+ out << '"' << value << '"';
         }
 
         Out& out;


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