diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-26 15:57:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-26 15:57:05 +0100 |
| commit | f0ee6dc640d1d1f00c40bc2f58e9d6a8fd94bd2b (patch) | |
| tree | a027f8e50202351d94f4a0c8b7f1c09472ab8a8a /dev/CompilerKit/Ref.h | |
| parent | 283d25d583a62aa9e56a2af412a7074e31db3069 (diff) | |
| parent | f3c153a465c156635584006a83fc8f3f37d20861 (diff) | |
Merge pull request #15 from 2LoS/dev
'operator bool()' is marked as explicit
Diffstat (limited to 'dev/CompilerKit/Ref.h')
| -rw-r--r-- | dev/CompilerKit/Ref.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/CompilerKit/Ref.h b/dev/CompilerKit/Ref.h index bbe67de..381b628 100644 --- a/dev/CompilerKit/Ref.h +++ b/dev/CompilerKit/Ref.h @@ -47,7 +47,7 @@ class Ref final { Bool IsStrong() const { return m_Strong; } - operator bool() { return *m_Class; } + explicit operator bool() { return *m_Class; } private: T* m_Class{nullptr}; |
