diff options
Diffstat (limited to 'libcxx/include')
-rw-r--r-- | libcxx/include/memory | 2 | ||||
-rw-r--r-- | libcxx/include/variant | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/memory b/libcxx/include/memory index e4cb58b8db2..8a3237f3238 100644 --- a/libcxx/include/memory +++ b/libcxx/include/memory @@ -3352,7 +3352,7 @@ inline size_t __hash_combine(size_t __lhs, size_t __rhs) _NOEXCEPT { size_t second; }; typedef __scalar_hash<_PairT> _HashT; - const _PairT __p{__lhs, __rhs}; + const _PairT __p = {__lhs, __rhs}; return _HashT()(__p); } diff --git a/libcxx/include/variant b/libcxx/include/variant index 45efc78ed19..94c1eced0ed 100644 --- a/libcxx/include/variant +++ b/libcxx/include/variant @@ -216,7 +216,7 @@ namespace std { // explicitly not using versioning namespace class _LIBCPP_EXCEPTION_ABI bad_variant_access : public exception { public: - _LIBCPP_FUNC_VIS virtual const char* what() const noexcept; + _LIBCPP_FUNC_VIS virtual const char* what() const _NOEXCEPT; }; } // namespace std |