Fix mce::UUID::isEmpty

This commit is contained in:
Qiuzhizhe 2022-11-17 14:35:26 +08:00
parent 08b1967cc3
commit 85911a26b6
No known key found for this signature in database
GPG Key ID: 4EF4BF5521540263

View File

@ -64,7 +64,9 @@ class UUID {
public:
MCAPI std::string asString() const;
MCAPI static UUID fromString(std::string const&);
MCAPI bool isEmpty() const;
inline bool isEmpty() const{
return a && b;
};
MCAPI static UUID seedFromString(std::string const&);
MCAPI static class mce::UUID EMPTY;