From 2d01bf0665357d8c10706af243a9253aa68b8b8d Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Fri, 13 May 2011 23:59:50 +0000 Subject: [PATCH] Suppress some warings in the tests. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@131326 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/containers/Emplaceable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/containers/Emplaceable.h b/test/containers/Emplaceable.h index 59ccc668..aab290a3 100644 --- a/test/containers/Emplaceable.h +++ b/test/containers/Emplaceable.h @@ -24,7 +24,7 @@ public: 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_;} };