diff options
-rw-r--r-- | protocols/Twitter/src/tinyjson.hpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/protocols/Twitter/src/tinyjson.hpp b/protocols/Twitter/src/tinyjson.hpp index d87ca8420e..173b6b149c 100644 --- a/protocols/Twitter/src/tinyjson.hpp +++ b/protocols/Twitter/src/tinyjson.hpp @@ -28,8 +28,8 @@ #include <boost/shared_ptr.hpp>
#include <boost/any.hpp>
-#include <boost/spirit/home/classic/core.hpp>
-#include <boost/spirit/home/classic/utility/loops.hpp>
+#include <boost/spirit/include/classic_core.hpp>
+#include <boost/spirit/include/classic_loops.hpp>
#include <boost/lexical_cast.hpp>
#include <string>
@@ -41,8 +41,8 @@ namespace json
{
- boost::spirit::int_parser<long long> const
- longlong_p = boost::spirit::int_parser<long long>();
+ boost::spirit::classic::int_parser<long long> const
+ longlong_p = boost::spirit::classic::int_parser<long long>();
// ==========================================================================================================
// === U N I C O D E _ C O N V E R T ===
@@ -99,7 +99,7 @@ namespace json // ==========================================================================================================
template< typename Char >
- class grammar : public boost::spirit::grammar< grammar< Char > >
+ class grammar : public boost::spirit::classic::grammar< grammar< Char > >
{
public:
@@ -439,25 +439,25 @@ namespace json template <typename SCANNER>
class definition
{
- boost::spirit::rule< SCANNER > m_start;
- boost::spirit::rule< SCANNER > m_object;
- boost::spirit::rule< SCANNER > m_array;
- boost::spirit::rule< SCANNER > m_pair;
- boost::spirit::rule< SCANNER > m_value;
- boost::spirit::rule< SCANNER > m_string;
- boost::spirit::rule< SCANNER > m_number;
- boost::spirit::rule< SCANNER > m_boolean;
- boost::spirit::rule< SCANNER > m_null;
+ boost::spirit::classic::rule< SCANNER > m_start;
+ boost::spirit::classic::rule< SCANNER > m_object;
+ boost::spirit::classic::rule< SCANNER > m_array;
+ boost::spirit::classic::rule< SCANNER > m_pair;
+ boost::spirit::classic::rule< SCANNER > m_value;
+ boost::spirit::classic::rule< SCANNER > m_string;
+ boost::spirit::classic::rule< SCANNER > m_number;
+ boost::spirit::classic::rule< SCANNER > m_boolean;
+ boost::spirit::classic::rule< SCANNER > m_null;
public:
- boost::spirit::rule< SCANNER > const & start() const { return m_start; }
+ boost::spirit::classic::rule< SCANNER > const & start() const { return m_start; }
// - -[ create the definition ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
definition(grammar const & self)
{
- using namespace boost::spirit;
+ using namespace boost::spirit::classic;
// 0: JSON can either be an object or an array
@@ -560,7 +560,7 @@ namespace json json::grammar< typename Iterator::value_type >::stack st;
json::grammar< typename Iterator::value_type > gr(st);
- boost::spirit::parse_info<Iterator> pi = boost::spirit::parse(szFirst, szEnd, gr, boost::spirit::space_p);
+ boost::spirit::classic::parse_info<Iterator> pi = boost::spirit::classic::parse(szFirst, szEnd, gr, boost::spirit::classic::space_p);
// 2: skip any spaces at the end of the parsed section...
|