Commits

Boris Nagaev committed 08eabb8

add operator != to BD::IdType for compatibility with Wt 3.2.3

  • Participants
  • Parent commits 920f84c

Comments (0)

Files changed (2)

     return user == other.user && type == other.type && value == other.value;
 }
 
+bool BDId::operator!=(const BDId& other) const {
+    return !(*this == other);
+}
+
 bool BDId::operator<(const BDId& other) const {
     return user < other.user || (user == other.user && (type < other.type ||
                                  (type == other.type && value < other.value)));

src/model/model.hpp

     /** Comparison operator */
     bool operator==(const BDId& other) const;
 
+    // FIXME http://redmine.emweb.be/issues/1510
+    /** Comparison operator */
+    bool operator!=(const BDId& other) const;
+
     /** Comparison operator */
     bool operator<(const BDId& other) const;
 };