diff options
Diffstat (limited to 'common/str.h')
-rw-r--r-- | common/str.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/str.h b/common/str.h index d42320f2d9..fc652d517a 100644 --- a/common/str.h +++ b/common/str.h @@ -133,6 +133,7 @@ public: bool hasPrefix(const char *x) const; bool contains(const char *x) const; + bool contains(char x) const; inline const char *c_str() const { return _str; } inline uint size() const { return _len; } |