diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | src/common/make_unique.h | 17 |
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 | |||
| 42 | logging/filter.h | 42 | logging/filter.h |
| 43 | logging/log.h | 43 | logging/log.h |
| 44 | logging/backend.h | 44 | logging/backend.h |
| 45 | make_unique.h | ||
| 46 | math_util.h | 45 | math_util.h |
| 47 | memory_util.h | 46 | memory_util.h |
| 48 | microprofile.h | 47 | 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 @@ | |||
| 1 | // Copyright 2014 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include <algorithm> | ||
| 8 | #include <memory> | ||
| 9 | |||
| 10 | namespace Common { | ||
| 11 | |||
| 12 | template <typename T, typename... Args> | ||
| 13 | std::unique_ptr<T> make_unique(Args&&... args) { | ||
| 14 | return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); | ||
| 15 | } | ||
| 16 | |||
| 17 | } // namespace | ||