office-gobmx/boost/boost.ptree.patch
Fridrich Štrba 41d2b58b1e Trying to fix a boost::property_tree::json_parser error on windows
Change-Id: Iea3ec9a56eb008c6a0729a151b392f1e62925720
2013-04-22 18:34:36 +02:00

11 lines
606 B
Diff

--- misc/build/boost_1_44_0/boost/property_tree/detail/json_parser_read.hpp 2013-04-22 18:22:16.961642320 +0200
+++ misc/build/boost_1_44_0/boost/property_tree/detail/json_parser_read.hpp 2013-04-22 18:22:59.991632602 +0200
@@ -102,7 +102,7 @@
void operator()(It b, It e) const
{
BOOST_ASSERT(c.stack.size() >= 1);
- c.stack.back()->push_back(std::make_pair(c.name, Str(b, e)));
+ c.stack.back()->push_back(std::make_pair(c.name, Ptree(Str(b, e))));
c.name.clear();
c.string.clear();
}