Give the emulated nullptr_t a default constructor.
llvm-svn: 150893
This commit is contained in:
parent
e8a5ba89ec
commit
2a9a072485
|
@ -62,6 +62,7 @@ struct _LIBCPP_VISIBLE nullptr_t
|
|||
|
||||
struct __nat {int __for_bool_;};
|
||||
|
||||
_LIBCPP_ALWAYS_INLINE nullptr_t() {}
|
||||
_LIBCPP_ALWAYS_INLINE nullptr_t(int __nat::*) {}
|
||||
|
||||
_LIBCPP_ALWAYS_INLINE operator int __nat::*() const {return 0;}
|
||||
|
|
Loading…
Reference in New Issue