Suppress some warings in the tests.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@131326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2011-05-13 23:59:50 +00:00
parent 0a111118a6
commit 2d01bf0665

View File

@ -24,7 +24,7 @@ public:
bool operator==(const Emplaceable& x) const bool operator==(const Emplaceable& x) const
{return int_ == x.int_ && double_ == x.double_;} {return int_ == x.int_ && double_ == x.double_;}
bool operator<(const Emplaceable& x) const bool operator<(const Emplaceable& x) const
{return int_ < x.int_ || int_ == x.int_ && double_ < x.double_;} {return int_ < x.int_ || (int_ == x.int_ && double_ < x.double_);}
int get() const {return int_;} int get() const {return int_;}
}; };