xo-object2: + operator==() for DString
This commit is contained in:
parent
293d805351
commit
05693bd55e
1 changed files with 5 additions and 0 deletions
|
|
@ -245,6 +245,11 @@ namespace xo {
|
||||||
|
|
||||||
///@}
|
///@}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inline bool operator==(const DString & lhs, const DString & rhs) {
|
||||||
|
return DString::compare(lhs, rhs) == 0;
|
||||||
|
}
|
||||||
|
|
||||||
} /*namespace scm*/
|
} /*namespace scm*/
|
||||||
} /*namespace xo*/
|
} /*namespace xo*/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue