From 87e978a6b91c2b9daf4d5ac204518766713bae41 Mon Sep 17 00:00:00 2001 From: artemp Date: Mon, 13 Apr 2015 15:03:19 +0200 Subject: [PATCH] prefer c++11 alias type declaration over typedef for consistency --- include/mapnik/json/generic_json.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/json/generic_json.hpp b/include/mapnik/json/generic_json.hpp index 933470b08..c4fa67c28 100644 --- a/include/mapnik/json/generic_json.hpp +++ b/include/mapnik/json/generic_json.hpp @@ -57,7 +57,7 @@ struct unicode_string : qi::grammar struct push_utf8 { - typedef void result_type; + using result_type = void; void operator()(std::string& utf8, uchar code_point) const { @@ -70,7 +70,7 @@ struct push_utf8 struct push_esc { - typedef void result_type; + using result_type = void; void operator()(std::string& utf8, uchar c) const {