fixed a cppcheck warning

This commit is contained in:
Niels 2015-12-27 18:07:21 +01:00
parent d80bbffc78
commit 80cdecaadd
2 changed files with 2 additions and 2 deletions

View file

@ -5501,7 +5501,7 @@ class basic_json
} }
/// inequality operator (needed for range-based for) /// inequality operator (needed for range-based for)
bool operator!= (const iteration_proxy_internal& o) bool operator!= (const iteration_proxy_internal& o) const
{ {
return anchor != o.anchor; return anchor != o.anchor;
} }

View file

@ -5501,7 +5501,7 @@ class basic_json
} }
/// inequality operator (needed for range-based for) /// inequality operator (needed for range-based for)
bool operator!= (const iteration_proxy_internal& o) bool operator!= (const iteration_proxy_internal& o) const
{ {
return anchor != o.anchor; return anchor != o.anchor;
} }