diff options
-rw-r--r-- | libcxx/include/type_traits | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index 3e3d8b7bbce..4f84a0a5db1 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -236,10 +236,10 @@ struct _LIBCPP_TYPE_VIS_ONLY integral_constant typedef _Tp value_type; typedef integral_constant type; _LIBCPP_INLINE_VISIBILITY - _LIBCPP_CONSTEXPR operator value_type() const {return value;} + _LIBCPP_CONSTEXPR operator value_type() const _NOEXCEPT {return value;} #if _LIBCPP_STD_VER > 11 _LIBCPP_INLINE_VISIBILITY - constexpr value_type operator ()() const {return value;} + constexpr value_type operator ()() const _NOEXCEPT {return value;} #endif }; |