Formatting
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user