diff --git a/include/stdshims.h b/include/stdshims.h index c12254e15..dc89a1b09 100644 --- a/include/stdshims.h +++ b/include/stdshims.h @@ -4,33 +4,9 @@ #ifndef STDSHIMS_H #define STDSHIMS_H -#include #include #include -#if (__cplusplus >= 201402L || _MSC_VER) -#ifndef _MSC_VER -#warning "This part of this file should now be removed! The functions it provides are part of the C++14 standard." -#endif -using std::make_unique; - -#else - -/// Shim for http://en.cppreference.com/w/cpp/memory/unique_ptr/make_unique -template -std::unique_ptr make_unique(Args&&... args) -{ - return std::unique_ptr(new T(std::forward(args)...)); -} - -//! Overload for the case a deleter should be specified -template -std::unique_ptr make_unique(Args&&... args) -{ - return std::unique_ptr(new T(std::forward(args)...)); -} -#endif - #if (__cplusplus >= 201703L || _MSC_VER >= 1914) #ifndef _MSC_VER #warning "This part of this file should now be removed! The functions it provides are part of the C++17 standard."