From a6987a4dddc61168fbccba7493c176d35689a004 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Fri, 9 Sep 2016 12:31:38 +0000 Subject: [PATCH] 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 --- polly/include/polly/Support/GICHelper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polly/include/polly/Support/GICHelper.h b/polly/include/polly/Support/GICHelper.h index f9a80c3da9b6..b968ece659f3 100644 --- a/polly/include/polly/Support/GICHelper.h +++ b/polly/include/polly/Support/GICHelper.h @@ -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 &That) : NonowningIslPtr(That.keep()) {}