diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2011-12-01 20:21:04 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2011-12-01 20:21:04 +0000 |
| commit | c206366fd7774aff222578c2680b931a4c2c35ba (patch) | |
| tree | 754a1c9a558a9c1e4e1774aec8ac5268ba3d2afe /libcxx/include/system_error | |
| parent | ab0ad4ed1eea577056d76a4b76734dae881955d3 (diff) | |
| download | bcm5719-llvm-c206366fd7774aff222578c2680b931a4c2c35ba.tar.gz bcm5719-llvm-c206366fd7774aff222578c2680b931a4c2c35ba.zip | |
Quash a whole bunch of warnings
llvm-svn: 145624
Diffstat (limited to 'libcxx/include/system_error')
| -rw-r--r-- | libcxx/include/system_error | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/system_error b/libcxx/include/system_error index d65b29b1640..c9a8097d510 100644 --- a/libcxx/include/system_error +++ b/libcxx/include/system_error @@ -474,7 +474,7 @@ bool operator<(const error_condition& __x, const error_condition& __y) _NOEXCEPT { return __x.category() < __y.category() - || __x.category() == __y.category() && __x.value() < __y.value(); + || (__x.category() == __y.category() && __x.value() < __y.value()); } // error_code @@ -551,7 +551,7 @@ bool operator<(const error_code& __x, const error_code& __y) _NOEXCEPT { return __x.category() < __y.category() - || __x.category() == __y.category() && __x.value() < __y.value(); + || (__x.category() == __y.category() && __x.value() < __y.value()); } inline _LIBCPP_INLINE_VISIBILITY |

