summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorMathew Maidment <mathew1800@gmail.com>2016-04-06 02:10:11 +0200
committerMathew Maidment <mathew1800@gmail.com>2016-04-06 02:10:11 +0200
commitaa6380e5bc9c3b40e53c001e76838819d61ca62a (patch)
tree22d8a5dc94874820d5bd7a8964485153db234672 /src/common
parentMerge pull request #1620 from LFsWang/path (diff)
parentCommon: Remove Common::make_unique, use std::make_unique (diff)
downloadyuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar
yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.gz
yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.bz2
yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.lz
yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.xz
yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.zst
yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/CMakeLists.txt1
-rw-r--r--src/common/make_unique.h17
2 files changed, 0 insertions, 18 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 1c9be718f..c839ce173 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -42,7 +42,6 @@ set(HEADERS
logging/filter.h
logging/log.h
logging/backend.h
- make_unique.h
math_util.h
memory_util.h
microprofile.h
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