diff --git a/xo-object2/include/xo/object2/DString.hpp b/xo-object2/include/xo/object2/DString.hpp index 39890498..35e0527f 100644 --- a/xo-object2/include/xo/object2/DString.hpp +++ b/xo-object2/include/xo/object2/DString.hpp @@ -245,6 +245,11 @@ namespace xo { ///@} }; + + inline bool operator==(const DString & lhs, const DString & rhs) { + return DString::compare(lhs, rhs) == 0; + } + } /*namespace scm*/ } /*namespace xo*/