diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-05-13 23:59:50 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-05-13 23:59:50 +0000 |
commit | a7fa0710cbe1fab596f2c5d5c3196da13a5b73f6 (patch) | |
tree | 70001d89d51fc609c61218412c546d304e25e016 /libcxx/test | |
parent | 8a2548f6e03b198ece8e862720d9757cf4f5b6e2 (diff) | |
download | bcm5719-llvm-a7fa0710cbe1fab596f2c5d5c3196da13a5b73f6.tar.gz bcm5719-llvm-a7fa0710cbe1fab596f2c5d5c3196da13a5b73f6.zip |
Suppress some warings in the tests.
llvm-svn: 131326
Diffstat (limited to 'libcxx/test')
-rw-r--r-- | libcxx/test/containers/Emplaceable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/containers/Emplaceable.h b/libcxx/test/containers/Emplaceable.h index 59ccc66836a..aab290a3160 100644 --- a/libcxx/test/containers/Emplaceable.h +++ b/libcxx/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_;} }; |