diff --git a/test/IntWrapper.hpp b/test/IntWrapper.hpp index 4204ab0e..15719209 100755 --- a/test/IntWrapper.hpp +++ b/test/IntWrapper.hpp @@ -20,6 +20,7 @@ #include #include +#include struct IntWrapper { static bool gIntWrapperTrace; @@ -41,6 +42,7 @@ struct IntWrapper { }; inline bool operator== (IntWrapper const &lhs, IntWrapper const &rhs); +inline bool operator!= (IntWrapper const &lhs, IntWrapper const &rhs); inline bool operator< (IntWrapper const &lhs, IntWrapper const &rhs); inline int compare (IntWrapper const &lhs, IntWrapper const &rhs); inline std::ostream &operator<< (std::ostream &strm, IntWrapper const &iw); @@ -142,6 +144,11 @@ bool operator== (IntWrapper const &lhs, IntWrapper const &rhs) return lhs.mI == rhs.mI; } +bool operator!= (IntWrapper const &lhs, IntWrapper const &rhs) +{ + return lhs.mI != rhs.mI; +} + bool operator< (IntWrapper const &lhs, IntWrapper const &rhs) { return lhs.mI < rhs.mI;