mirror of
https://github.com/nlohmann/json
synced 2024-12-27 02:50:14 +00:00
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
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user