From 41e9e000bf7457a6e33fbd3952c4077e257be1aa Mon Sep 17 00:00:00 2001 From: Alexandre Hamez Date: Tue, 9 Jun 2015 13:31:10 +0200 Subject: [PATCH] Remove useless typename Avoid a warning with GCC 4.9: son.hpp:2361:49: warning: declaration 'struct std::bidirectional_iterator_tag' does not declare anything using iterator_category = typename std::bidirectional_iterator_tag; ^ --- src/json.hpp.re2c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index b7f1e7c9..f0293845 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -2358,7 +2358,7 @@ class basic_json /// defines a reference to the type iterated over (value_type) using reference = typename basic_json::reference; /// the category of the iterator - using iterator_category = typename std::bidirectional_iterator_tag; + using iterator_category = std::bidirectional_iterator_tag; /// default constructor inline iterator() = default; @@ -2874,7 +2874,7 @@ class basic_json /// defines a reference to the type iterated over (value_type) using reference = typename basic_json::const_reference; /// the category of the iterator - using iterator_category = typename std::bidirectional_iterator_tag; + using iterator_category = std::bidirectional_iterator_tag; /// default constructor inline const_iterator() = default;