diff options
-rw-r--r-- | src/common/Common.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/common/Common.h b/src/common/Common.h index e33210ecd3b..3010a486506 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -132,12 +132,7 @@ struct TC_COMMON_API LocalizedString namespace Trinity { - //! std::make_unique implementation (TODO: remove this once C++14 is supported) - template<typename T, typename ...Args> - std::unique_ptr<T> make_unique(Args&& ...args) - { - return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); - } + using std::make_unique; } #endif |