summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/support/istring.h2
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); }