Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit d07a9ca

Browse files
authored
Release 2.16.2-hotfix (#1357)
2 parents 0544954 + 1d30d71 commit d07a9ca

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

LiteLoader/include/llapi/mc/Bedrock.hpp

-21
Original file line numberDiff line numberDiff line change
@@ -112,27 +112,6 @@ class NonOwnerPointer {
112112
}
113113
};
114114

115-
template <class T>
116-
[[nodiscard]] bool operator==(const NonOwnerPointer<T>& self, nullptr_t) noexcept {
117-
return self.get() == nullptr;
118-
}
119-
120-
template <class T>
121-
[[nodiscard]] std::strong_ordering operator<=>(const NonOwnerPointer<T>& self, nullptr_t) noexcept {
122-
return self.get() <=> static_cast<T*>(nullptr);
123-
}
124-
125-
template <class T1, class T2>
126-
[[nodiscard]] bool operator==(const NonOwnerPointer<T1>& l, const NonOwnerPointer<T2>& r) noexcept {
127-
return l.get() == r.get();
128-
}
129-
130-
template <class T1, class T2>
131-
[[nodiscard]] std::strong_ordering operator<=>(const NonOwnerPointer<T1>& l, const NonOwnerPointer<T2>& r) noexcept {
132-
return l.get() <=> r.get();
133-
}
134-
135-
136115
struct StorageMigration {
137116
enum class StorageMigrationType;
138117
StorageMigration() = delete;

0 commit comments

Comments
 (0)