summaryrefslogtreecommitdiff
path: root/src/common/make_unique.h
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2016-04-05 13:29:55 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2016-04-05 13:31:17 +0100
commita06dcfeb61d6769c562d6d50cfa3c0024176ae82 (patch)
treee1f81e5faebce62810ac079b8a6e616182c34959 /src/common/make_unique.h
parentb83e95727f95fa6fe35d436be3e821605244a6a8 (diff)
Common: Remove Common::make_unique, use std::make_unique
Diffstat (limited to 'src/common/make_unique.h')
-rw-r--r--src/common/make_unique.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/common/make_unique.h b/src/common/make_unique.h
deleted file mode 100644
index f6e7f017c..000000000
--- a/src/common/make_unique.h
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2014 Citra Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
-
-#pragma once
-
-#include <algorithm>
-#include <memory>
-
-namespace Common {
-
-template <typename T, typename... Args>
-std::unique_ptr<T> make_unique(Args&&... args) {
- return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
-}
-
-} // namespace