diff options
Diffstat (limited to 'compat/borrowed-ptr.hpp')
| -rw-r--r-- | compat/borrowed-ptr.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compat/borrowed-ptr.hpp b/compat/borrowed-ptr.hpp index 6a4e79f1..b818154c 100644 --- a/compat/borrowed-ptr.hpp +++ b/compat/borrowed-ptr.hpp @@ -1,9 +1,5 @@ #pragma once #include "borrowed-ptr-fwd.hpp" -#include <compare> - -#define FM_BPTR_DEBUG -#define FM_NO_WEAK_BPTR #ifdef __CLION_IDE__ #define fm_bptr_assert(...) (void(__VA_ARGS__)) @@ -113,10 +109,6 @@ public: bool operator==(const bptr<T>& other) const noexcept requires (!std::is_const_v<T>); bool operator==(const std::nullptr_t& other) const noexcept; - std::strong_ordering operator<=>(const bptr<const T>& other) const noexcept; - std::strong_ordering operator<=>(const bptr<T>& other) const noexcept requires (!std::is_const_v<T>); - std::strong_ordering operator<=>(const std::nullptr_t&) const noexcept; - template<typename U> friend class bptr; template<typename U> friend class weak_bptr; |
