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

Commit

Permalink
Release 2.16.2-hotfix (LiteLDev#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamguxiang authored Sep 27, 2023
2 parents 0544954 + 1d30d71 commit d07a9ca
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions LiteLoader/include/llapi/mc/Bedrock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,27 +112,6 @@ class NonOwnerPointer {
}
};

template <class T>
[[nodiscard]] bool operator==(const NonOwnerPointer<T>& self, nullptr_t) noexcept {
return self.get() == nullptr;
}

template <class T>
[[nodiscard]] std::strong_ordering operator<=>(const NonOwnerPointer<T>& self, nullptr_t) noexcept {
return self.get() <=> static_cast<T*>(nullptr);
}

template <class T1, class T2>
[[nodiscard]] bool operator==(const NonOwnerPointer<T1>& l, const NonOwnerPointer<T2>& r) noexcept {
return l.get() == r.get();
}

template <class T1, class T2>
[[nodiscard]] std::strong_ordering operator<=>(const NonOwnerPointer<T1>& l, const NonOwnerPointer<T2>& r) noexcept {
return l.get() <=> r.get();
}


struct StorageMigration {
enum class StorageMigrationType;
StorageMigration() = delete;
Expand Down

0 comments on commit d07a9ca

Please sign in to comment.