Commit 4d3eadd2 authored by Vladislav Yaroslavlev's avatar Vladislav Yaroslavlev

Was incorrect operator!= for Text::Builder

parent ad4079bc
...@@ -149,7 +149,7 @@ public: ...@@ -149,7 +149,7 @@ public:
inline bool operator!=(decltype(nullptr)) const { return content.size() > 1; } inline bool operator!=(decltype(nullptr)) const { return content.size() > 1; }
inline bool operator==(Builder other) const { return asString() == other.asString(); } inline bool operator==(Builder other) const { return asString() == other.asString(); }
inline bool operator!=(Builder other) const { return asString() == other.asString(); } inline bool operator!=(Builder other) const { return asString() != other.asString(); }
inline bool operator< (Builder other) const { return asString() < other.asString(); } inline bool operator< (Builder other) const { return asString() < other.asString(); }
inline bool operator> (Builder other) const { return asString() > other.asString(); } inline bool operator> (Builder other) const { return asString() > other.asString(); }
inline bool operator<=(Builder other) const { return asString() <= other.asString(); } inline bool operator<=(Builder other) const { return asString() <= other.asString(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment