Formatting

This commit is contained in:
Jonas Kvinge
2025-12-09 01:16:41 +01:00
parent 15c2237d4a
commit 5fcb71d08f
164 changed files with 228 additions and 229 deletions

View File

@@ -52,7 +52,7 @@ class Lazy {
return *ptr_;
}
T* operator->() const { return get(); }
T *operator->() const { return get(); }
// Returns true if the object is initialized.
explicit operator bool() const { return ptr_ != nullptr; }

View File

@@ -53,7 +53,7 @@ class ScopedGObject {
}
T *get() const { return object_; }
operator T*() const { return get(); }
operator T *() const { return get(); }
T *operator*() const { return get(); }
operator bool() const { return get(); }