🚨 fixed another linter warning

Closes .
This commit is contained in:
Niels Lohmann 2019-01-13 15:40:49 +01:00
parent 5c04cc1009
commit e5753b14a8
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
2 changed files with 4 additions and 4 deletions
include/nlohmann/detail/iterators
single_include/nlohmann

View file

@ -52,13 +52,13 @@ template <typename IteratorType> class iteration_proxy_value
} }
/// equality operator (needed for InputIterator) /// equality operator (needed for InputIterator)
bool operator==(const iteration_proxy_value& o) const noexcept bool operator==(const iteration_proxy_value& o) const
{ {
return anchor == o.anchor; return anchor == o.anchor;
} }
/// inequality operator (needed for range-based for) /// inequality operator (needed for range-based for)
bool operator!=(const iteration_proxy_value& o) const noexcept bool operator!=(const iteration_proxy_value& o) const
{ {
return anchor != o.anchor; return anchor != o.anchor;
} }

View file

@ -1700,13 +1700,13 @@ template <typename IteratorType> class iteration_proxy_value
} }
/// equality operator (needed for InputIterator) /// equality operator (needed for InputIterator)
bool operator==(const iteration_proxy_value& o) const noexcept bool operator==(const iteration_proxy_value& o) const
{ {
return anchor == o.anchor; return anchor == o.anchor;
} }
/// inequality operator (needed for range-based for) /// inequality operator (needed for range-based for)
bool operator!=(const iteration_proxy_value& o) const noexcept bool operator!=(const iteration_proxy_value& o) const
{ {
return anchor != o.anchor; return anchor != o.anchor;
} }