Skip to content

Commit fc91179

Browse files
author
Dane Springmeyer
committed
Merge pull request #2749 from mapycz/fix-compile-json-grammar
fix compile json grammar with boost 1.49
2 parents 6d84d03 + 9862ac6 commit fc91179

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/mapnik/json/generic_json.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ struct unicode_string : qi::grammar<Iterator, std::string()>
5757

5858
struct push_utf8
5959
{
60-
template <typename S, typename C>
61-
struct result { typedef void type; };
60+
typedef void result_type;
6261

6362
void operator()(std::string& utf8, uchar code_point) const
6463
{
@@ -71,8 +70,7 @@ struct push_utf8
7170

7271
struct push_esc
7372
{
74-
template <typename S, typename C>
75-
struct result { typedef void type; };
73+
typedef void result_type;
7674

7775
void operator()(std::string& utf8, uchar c) const
7876
{

0 commit comments

Comments
 (0)