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;
                                                 ^
This commit is contained in:
Alexandre Hamez 2015-06-09 13:31:10 +02:00
parent 2d26d85c2b
commit 41e9e000bf

View file

@ -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;