Skip to content

Commit

Permalink
adjacency_matrix: drop redundant inline
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Jan 21, 2025
1 parent 03f704d commit 7a7cd41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entt/graph/adjacency_matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ class edge_iterator {
};

template<typename Container>
[[nodiscard]] inline constexpr bool operator==(const edge_iterator<Container> &lhs, const edge_iterator<Container> &rhs) noexcept {
[[nodiscard]] constexpr bool operator==(const edge_iterator<Container> &lhs, const edge_iterator<Container> &rhs) noexcept {
return lhs.pos == rhs.pos;
}

template<typename Container>
[[nodiscard]] inline constexpr bool operator!=(const edge_iterator<Container> &lhs, const edge_iterator<Container> &rhs) noexcept {
[[nodiscard]] constexpr bool operator!=(const edge_iterator<Container> &lhs, const edge_iterator<Container> &rhs) noexcept {
return !(lhs == rhs);
}

Expand Down

0 comments on commit 7a7cd41

Please sign in to comment.