From cd48e27028479d1ce589257ad80660dbdf53200a Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 25 Jul 2023 12:46:00 +0200 Subject: [PATCH] toxkey operator non cosntexpr --- solanaceae/toxcore/tox_key.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solanaceae/toxcore/tox_key.hpp b/solanaceae/toxcore/tox_key.hpp index f1d959a..b2bcbdb 100644 --- a/solanaceae/toxcore/tox_key.hpp +++ b/solanaceae/toxcore/tox_key.hpp @@ -12,8 +12,8 @@ struct ToxKey { ToxKey(const std::vector& 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;