toxkey operator non cosntexpr

This commit is contained in:
Green Sky 2023-07-25 12:46:00 +02:00
parent b3c5fe3a7c
commit cd48e27028
No known key found for this signature in database

View File

@ -12,8 +12,8 @@ struct ToxKey {
ToxKey(const std::vector<std::uint8_t>& v);
ToxKey(const std::uint8_t* d, std::size_t s);
constexpr bool operator==(const ToxKey& other) const { return data == other.data; }
constexpr bool operator!=(const ToxKey& other) const { return data != other.data; }
bool operator==(const ToxKey& other) const { return data == other.data; }
bool operator!=(const ToxKey& other) const { return data != other.data; }
bool operator<(const ToxKey& other) const;