summaryrefslogtreecommitdiffhomepage
path: root/dev/CompilerKit/Ref.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/CompilerKit/Ref.h')
-rw-r--r--dev/CompilerKit/Ref.h2
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};