test: minor changes

This commit is contained in:
Michele Caini
2022-05-27 16:39:54 +02:00
parent e05277d56a
commit a8a0c9e571
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ struct boxed_int {
int value;
};
bool operator==(const boxed_int &lhs, const boxed_int &rhs) {
inline bool operator==(const boxed_int &lhs, const boxed_int &rhs) {
return lhs.value == rhs.value;
}

View File

@@ -81,7 +81,7 @@ struct entt::component_traits<std::unordered_set<char>> {
static constexpr auto page_size = 128u;
};
bool operator==(const boxed_int &lhs, const boxed_int &rhs) {
inline bool operator==(const boxed_int &lhs, const boxed_int &rhs) {
return lhs.value == rhs.value;
}