diff options
Diffstat (limited to 'include/llvm/ADT/Any.h')
-rw-r--r-- | include/llvm/ADT/Any.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/Any.h b/include/llvm/ADT/Any.h index 5dcd6e73c54f..49657e02a991 100644 --- a/include/llvm/ADT/Any.h +++ b/include/llvm/ADT/Any.h @@ -38,7 +38,7 @@ class Any { explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} std::unique_ptr<StorageBase> clone() const override { - return llvm::make_unique<StorageImpl<T>>(Value); + return std::make_unique<StorageImpl<T>>(Value); } const void *id() const override { return &TypeId<T>::Id; } @@ -78,7 +78,7 @@ public: int>::type = 0> Any(T &&Value) { using U = typename std::decay<T>::type; - Storage = llvm::make_unique<StorageImpl<U>>(std::forward<T>(Value)); + Storage = std::make_unique<StorageImpl<U>>(std::forward<T>(Value)); } Any(Any &&Other) : Storage(std::move(Other.Storage)) {} |