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:
parent
2d26d85c2b
commit
41e9e000bf
1 changed files with 2 additions and 2 deletions
|
@ -2358,7 +2358,7 @@ class basic_json
|
||||||
/// defines a reference to the type iterated over (value_type)
|
/// defines a reference to the type iterated over (value_type)
|
||||||
using reference = typename basic_json::reference;
|
using reference = typename basic_json::reference;
|
||||||
/// the category of the iterator
|
/// the category of the iterator
|
||||||
using iterator_category = typename std::bidirectional_iterator_tag;
|
using iterator_category = std::bidirectional_iterator_tag;
|
||||||
|
|
||||||
/// default constructor
|
/// default constructor
|
||||||
inline iterator() = default;
|
inline iterator() = default;
|
||||||
|
@ -2874,7 +2874,7 @@ class basic_json
|
||||||
/// defines a reference to the type iterated over (value_type)
|
/// defines a reference to the type iterated over (value_type)
|
||||||
using reference = typename basic_json::const_reference;
|
using reference = typename basic_json::const_reference;
|
||||||
/// the category of the iterator
|
/// the category of the iterator
|
||||||
using iterator_category = typename std::bidirectional_iterator_tag;
|
using iterator_category = std::bidirectional_iterator_tag;
|
||||||
|
|
||||||
/// default constructor
|
/// default constructor
|
||||||
inline const_iterator() = default;
|
inline const_iterator() = default;
|
||||||
|
|
Loading…
Reference in a new issue