diff --git a/include/hyprutils/memory/WeakPtr.hpp b/include/hyprutils/memory/WeakPtr.hpp index 5617214..d4a1b8e 100644 --- a/include/hyprutils/memory/WeakPtr.hpp +++ b/include/hyprutils/memory/WeakPtr.hpp @@ -149,6 +149,10 @@ namespace Hyprutils { return impl_ == rhs.impl_; } + bool operator==(const CUniquePointer& rhs) const { + return impl_ == rhs.impl_; + } + bool operator()(const CWeakPointer& lhs, const CWeakPointer& rhs) const { return reinterpret_cast(lhs.impl_) < reinterpret_cast(rhs.impl_); }