Skip to content

Commit

Permalink
🚨 fixed another linter warning #1400
Browse files Browse the repository at this point in the history
Closes #1400.
  • Loading branch information
nlohmann committed Jan 13, 2019
1 parent 5c04cc1 commit e5753b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/nlohmann/detail/iterators/iteration_proxy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ template <typename IteratorType> class iteration_proxy_value
}

/// 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;
}

/// 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;
}
Expand Down
4 changes: 2 additions & 2 deletions single_include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1700,13 +1700,13 @@ template <typename IteratorType> class iteration_proxy_value
}

/// 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;
}

/// 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;
}
Expand Down

0 comments on commit e5753b1

Please sign in to comment.