From 0d912df9757d6431b223ea1587907caca9e1b6c5 Mon Sep 17 00:00:00 2001 From: vil02 Date: Sat, 27 Jan 2024 22:06:17 +0100 Subject: [PATCH] fix: `jule::Trait::operator==` --- api/trait.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/trait.hpp b/api/trait.hpp index 70187803c..0621f7dd4 100644 --- a/api/trait.hpp +++ b/api/trait.hpp @@ -240,7 +240,7 @@ namespace jule constexpr jule::Bool operator==(const jule::Trait &src) const noexcept { - return this->data.alloc == this->data.alloc; + return this->data.alloc == src.data.alloc; } constexpr jule::Bool operator!=(const jule::Trait &src) const noexcept