]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/lex/qi/plain_raw_token.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / spirit / home / lex / qi / plain_raw_token.hpp
index d57db054e8ca25b47449c428ee39ebb48ddc088b..de5b2631c65d6e8d2b5e5218f1a6bbf876eae5a5 100644 (file)
@@ -25,8 +25,8 @@
 #include <boost/mpl/or.hpp>
 #include <boost/type_traits/is_integral.hpp>
 #include <boost/type_traits/is_enum.hpp>
-#include <boost/lexical_cast.hpp>
 #include <iterator> // for std::iterator_traits
+#include <sstream>
 
 namespace boost { namespace spirit
 {
@@ -103,8 +103,9 @@ namespace boost { namespace spirit { namespace qi
         template <typename Context>
         info what(Context& /*context*/) const
         {
-            return info("raw_token",
-                "raw_token(" + boost::lexical_cast<utf8_string>(id) + ")");
+            std::stringstream ss;
+            ss << "raw_token(" << id << ")";
+            return info("raw_token", ss.str());
         }
 
         TokenId id;