test: minor changes
This commit is contained in:
@@ -9,11 +9,11 @@ struct aggregate {
|
||||
int value{};
|
||||
};
|
||||
|
||||
inline bool operator==(const aggregate &lhs, const aggregate &rhs) {
|
||||
[[nodiscard]] inline bool operator==(const aggregate &lhs, const aggregate &rhs) {
|
||||
return lhs.value == rhs.value;
|
||||
}
|
||||
|
||||
inline bool operator<(const aggregate &lhs, const aggregate &rhs) {
|
||||
[[nodiscard]] inline bool operator<(const aggregate &lhs, const aggregate &rhs) {
|
||||
return lhs.value < rhs.value;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,11 +8,11 @@ struct pointer_stable {
|
||||
int value{};
|
||||
};
|
||||
|
||||
inline bool operator==(const pointer_stable &lhs, const pointer_stable &rhs) {
|
||||
[[nodiscard]] inline bool operator==(const pointer_stable &lhs, const pointer_stable &rhs) {
|
||||
return lhs.value == rhs.value;
|
||||
}
|
||||
|
||||
inline bool operator<(const pointer_stable &lhs, const pointer_stable &rhs) {
|
||||
[[nodiscard]] inline bool operator<(const pointer_stable &lhs, const pointer_stable &rhs) {
|
||||
return lhs.value < rhs.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user