mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-10 19:34:29 +00:00
Add namespace specifier before nullptr_t
This fixes the following compile time errors: error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t' llvm-svn: 281039
This commit is contained in:
parent
d220384376
commit
a6987a4ddd
@ -253,7 +253,7 @@ private:
|
||||
|
||||
public:
|
||||
IslPtr() : Obj(nullptr) {}
|
||||
/* implicit */ IslPtr(nullptr_t That) : IslPtr() {}
|
||||
/* implicit */ IslPtr(std::nullptr_t That) : IslPtr() {}
|
||||
|
||||
/* implicit */ IslPtr(const ThisTy &That) : IslPtr(That.Obj, false) {}
|
||||
/* implicit */ IslPtr(ThisTy &&That) : IslPtr(That.Obj, true) {
|
||||
@ -320,7 +320,7 @@ private:
|
||||
|
||||
public:
|
||||
NonowningIslPtr() : Obj(nullptr) {}
|
||||
/* implicit */ NonowningIslPtr(nullptr_t That) : NonowningIslPtr() {}
|
||||
/* implicit */ NonowningIslPtr(std::nullptr_t That) : NonowningIslPtr() {}
|
||||
|
||||
/* implicit */ NonowningIslPtr(const IslPtr<T> &That)
|
||||
: NonowningIslPtr(That.keep()) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user