summaryrefslogtreecommitdiff
path: root/src/common/make_unique.h
diff options
context:
space:
mode:
authorMathew Maidment <mathew1800@gmail.com>2016-04-05 20:10:11 -0400
committerMathew Maidment <mathew1800@gmail.com>2016-04-05 20:10:11 -0400
commitaa6380e5bc9c3b40e53c001e76838819d61ca62a (patch)
tree22d8a5dc94874820d5bd7a8964485153db234672 /src/common/make_unique.h
parentb39340849631f565cf5c32bfdbab9fdc0bd4db9d (diff)
parenta06dcfeb61d6769c562d6d50cfa3c0024176ae82 (diff)
Merge pull request #1643 from MerryMage/make_unique
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