Source release 19.2.0

This commit is contained in:
Alex Dale
2024-06-25 14:03:53 -07:00
parent b8bdfccebe
commit cd8256726f
89 changed files with 2747 additions and 35949 deletions

View File

@@ -41,7 +41,8 @@ class ScopedObject {
return *this;
}
explicit operator bool() const { return ptr_ != nullptr; }
bool ok() const { return ptr_ != nullptr; }
explicit operator bool() const { return ok(); }
Type& operator*() { return *ptr_; }
Type* get() const { return ptr_; }