aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_spirit_reader_template.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-13 11:45:13 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-13 11:45:20 +0200
commitbfae70aae686e4631090bd0064fa6ac6eeed17d2 (patch)
tree91e3b06618e0aa222197fa854648d2a939b469d6 /src/json/json_spirit_reader_template.h
parent29c1fbbb97710a9c31ae594870fc41539425889c (diff)
parentd56e30ca898469cf5988b0fc9847ec79b43be49c (diff)
Merge pull request #4129
d56e30c removed a few unnecessary casts (Kamil Domanski) 3e74ac2 json_spirit: #include <stdint.h> (Kamil Domanski) 4b61a6a switch from boost int types to <stdint.h> (Kamil Domanski)
Diffstat (limited to 'src/json/json_spirit_reader_template.h')
-rw-r--r--src/json/json_spirit_reader_template.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/json/json_spirit_reader_template.h b/src/json/json_spirit_reader_template.h
index 4dec00e6c9..46f5892f62 100644
--- a/src/json/json_spirit_reader_template.h
+++ b/src/json/json_spirit_reader_template.h
@@ -33,8 +33,8 @@
namespace json_spirit
{
- const spirit_namespace::int_parser < boost::int64_t > int64_p = spirit_namespace::int_parser < boost::int64_t >();
- const spirit_namespace::uint_parser< boost::uint64_t > uint64_p = spirit_namespace::uint_parser< boost::uint64_t >();
+ const spirit_namespace::int_parser < int64_t > int64_p = spirit_namespace::int_parser < int64_t >();
+ const spirit_namespace::uint_parser< uint64_t > uint64_p = spirit_namespace::uint_parser< uint64_t >();
template< class Iter_type >
bool is_eq( Iter_type first, Iter_type last, const char* c_str )
@@ -270,12 +270,12 @@ namespace json_spirit
add_to_current( Value_type() );
}
- void new_int( boost::int64_t i )
+ void new_int( int64_t i )
{
add_to_current( i );
}
- void new_uint64( boost::uint64_t ui )
+ void new_uint64( uint64_t ui )
{
add_to_current( ui );
}
@@ -425,8 +425,8 @@ namespace json_spirit
typedef boost::function< void( Char_type ) > Char_action;
typedef boost::function< void( Iter_type, Iter_type ) > Str_action;
typedef boost::function< void( double ) > Real_action;
- typedef boost::function< void( boost::int64_t ) > Int_action;
- typedef boost::function< void( boost::uint64_t ) > Uint64_action;
+ typedef boost::function< void( int64_t ) > Int_action;
+ typedef boost::function< void( uint64_t ) > Uint64_action;
Char_action begin_obj ( boost::bind( &Semantic_actions_t::begin_obj, &self.actions_, _1 ) );
Char_action end_obj ( boost::bind( &Semantic_actions_t::end_obj, &self.actions_, _1 ) );