Fixed clang warnings

This commit is contained in:
emeric
2024-03-14 00:16:03 +01:00
parent 63651de4bb
commit 4c4bef266a
6 changed files with 48 additions and 10 deletions
@@ -39,10 +39,7 @@ namespace lms::db
ValueType getValue() const { return _id; }
bool operator==(IdType other) const { return other._id == _id; }
bool operator!=(IdType other) const { return !(*this == other); }
bool operator<(IdType other) const { return _id < other._id; }
bool operator>(IdType other) const { return _id > other._id; }
auto operator<=>(const IdType& other) const = default;
private:
Wt::Dbo::dbo_default_traits::IdType _id {Wt::Dbo::dbo_default_traits::invalidId()};