diff options
Diffstat (limited to 'src/include/rc_string.hpp')
-rw-r--r-- | src/include/rc_string.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/rc_string.hpp b/src/include/rc_string.hpp index 4649b36e..630f8e89 100644 --- a/src/include/rc_string.hpp +++ b/src/include/rc_string.hpp @@ -75,6 +75,7 @@ public: return ""; } } + bool operator==(const RcString& s) const { return *this == s.c_str(); } bool operator==(const char* s) const; friend ::std::ostream& operator<<(::std::ostream& os, const RcString& x) { return os << x.c_str(); |