[cfe-commits] [libcxx] r131326 - /libcxx/trunk/test/containers/Emplaceable.h
Howard Hinnant
hhinnant at apple.com
Fri May 13 16:59:50 PDT 2011
Author: hhinnant
Date: Fri May 13 18:59:50 2011
New Revision: 131326
URL: http://llvm.org/viewvc/llvm-project?rev=131326&view=rev
Log:
Suppress some warings in the tests.
Modified:
libcxx/trunk/test/containers/Emplaceable.h
Modified: libcxx/trunk/test/containers/Emplaceable.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/containers/Emplaceable.h?rev=131326&r1=131325&r2=131326&view=diff
==============================================================================
--- libcxx/trunk/test/containers/Emplaceable.h (original)
+++ libcxx/trunk/test/containers/Emplaceable.h Fri May 13 18:59:50 2011
@@ -24,7 +24,7 @@
bool operator==(const Emplaceable& x) const
{return int_ == x.int_ && double_ == x.double_;}
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_;}
};
More information about the cfe-commits
mailing list