Skip to content

Commit

Permalink
Remove inline keyword from dump_t member function declaration
Browse files Browse the repository at this point in the history
This is completly redundant:
[class.mfct]: "A member function may be defined (9.5) in its class
definition, in which case it is an inline (9.2.7) member
function if it is attached to the global module"
  • Loading branch information
ol-imorozko committed Sep 18, 2024
1 parent 80bc27d commit 26aba5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/actions.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ class dump_t
dump_tag(std::move(dump_tag))
{}

inline bool operator==(const dump_t& o) const
bool operator==(const dump_t& o) const
{
return std::tie(dump_id, dump_tag) ==
std::tie(o.dump_id, o.dump_tag);
}

inline bool operator!=(const dump_t& o) const
bool operator!=(const dump_t& o) const
{
return !operator==(o);
}
Expand Down

0 comments on commit 26aba5a

Please sign in to comment.