parent
918f32fc7b
commit
5877920183
|
@ -3352,7 +3352,7 @@ inline size_t __hash_combine(size_t __lhs, size_t __rhs) _NOEXCEPT {
|
||||||
size_t second;
|
size_t second;
|
||||||
};
|
};
|
||||||
typedef __scalar_hash<_PairT> _HashT;
|
typedef __scalar_hash<_PairT> _HashT;
|
||||||
const _PairT __p{__lhs, __rhs};
|
const _PairT __p = {__lhs, __rhs};
|
||||||
return _HashT()(__p);
|
return _HashT()(__p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -216,7 +216,7 @@ namespace std { // explicitly not using versioning namespace
|
||||||
|
|
||||||
class _LIBCPP_EXCEPTION_ABI bad_variant_access : public exception {
|
class _LIBCPP_EXCEPTION_ABI bad_variant_access : public exception {
|
||||||
public:
|
public:
|
||||||
_LIBCPP_FUNC_VIS virtual const char* what() const noexcept;
|
_LIBCPP_FUNC_VIS virtual const char* what() const _NOEXCEPT;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
|
Loading…
Reference in New Issue