diff options
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 |