From 1d30d711ea0c7d14705cf97197913da6ef90c5f3 Mon Sep 17 00:00:00 2001 From: qingyu Date: Wed, 27 Sep 2023 17:03:16 +0800 Subject: [PATCH] fix: fix build --- LiteLoader/include/llapi/mc/Bedrock.hpp | 21 --------------------- 1 file changed, 21 deletions(-) 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;