mirror of
https://github.com/nlohmann/json.git
synced 2026-02-17 14:22:14 +00:00
fixed a cppcheck warning
This commit is contained in:
@@ -5501,7 +5501,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/// 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;
|
||||
}
|
||||
|
||||
@@ -5501,7 +5501,7 @@ class basic_json
|
||||
}
|
||||
|
||||
/// 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user