forked from OSchip/llvm-project
G M: Improve support for compilers not supporting defaulted functions.
llvm-svn: 189184
This commit is contained in:
parent
f9024e9cda
commit
c9d3ae43d2
|
@ -415,6 +415,7 @@ using namespace _LIBCPP_NAMESPACE __attribute__((__strong__));
|
|||
#define _LIBCPP_HAS_NO_CONSTEXPR
|
||||
#define _LIBCPP_HAS_NO_UNICODE_CHARS
|
||||
#define _LIBCPP_HAS_NO_DELETED_FUNCTIONS
|
||||
#define _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
|
||||
#define __alignof__ __alignof
|
||||
#define _LIBCPP_NORETURN __declspec(noreturn)
|
||||
#define _ALIGNAS(x) __declspec(align(x))
|
||||
|
|
|
@ -371,7 +371,7 @@ public:
|
|||
error_category() _NOEXCEPT;
|
||||
#else
|
||||
_LIBCPP_ALWAYS_INLINE
|
||||
_LIBCPP_CONSTEXPR_AFTER_CXX11 error_category() _NOEXCEPT = default;
|
||||
_LIBCPP_CONSTEXPR_AFTER_CXX11 error_category() _NOEXCEPT _LIBCPP_DEFAULT;
|
||||
#endif
|
||||
private:
|
||||
error_category(const error_category&);// = delete;
|
||||
|
|
Loading…
Reference in New Issue