diff --git a/LiteLoader/include/llapi/mc/Bedrock.hpp b/LiteLoader/include/llapi/mc/Bedrock.hpp index f0ff520c64..2ce5d8c5f1 100644 --- a/LiteLoader/include/llapi/mc/Bedrock.hpp +++ b/LiteLoader/include/llapi/mc/Bedrock.hpp @@ -112,27 +112,6 @@ class NonOwnerPointer { } }; -template -[[nodiscard]] bool operator==(const NonOwnerPointer& self, nullptr_t) noexcept { - return self.get() == nullptr; -} - -template -[[nodiscard]] std::strong_ordering operator<=>(const NonOwnerPointer& self, nullptr_t) noexcept { - return self.get() <=> static_cast(nullptr); -} - -template -[[nodiscard]] bool operator==(const NonOwnerPointer& l, const NonOwnerPointer& r) noexcept { - return l.get() == r.get(); -} - -template -[[nodiscard]] std::strong_ordering operator<=>(const NonOwnerPointer& l, const NonOwnerPointer& r) noexcept { - return l.get() <=> r.get(); -} - - struct StorageMigration { enum class StorageMigrationType; StorageMigration() = delete;