diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/support/istring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/istring.h b/src/support/istring.h index 14f991c30..f2e23d429 100644 --- a/src/support/istring.h +++ b/src/support/istring.h @@ -67,7 +67,7 @@ public: char operator[](int x) const { return str[x]; } - operator bool() const { return str.data() != nullptr; } + explicit operator bool() const { return str.data() != nullptr; } // TODO: deprecate? bool is() const { return bool(*this); } |