Loading src/TNL/Config/ConfigDescription.h +0 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,6 @@ #include <string> #include <vector> #include <memory> #include "make_unique.h" #include <TNL/Assert.h> #include <TNL/String.h> Loading src/TNL/Config/ParameterContainer.h +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ #include <vector> #include <memory> #include "make_unique.h" #include <TNL/param-types.h> //#include <TNL/Debugging/StackBacktrace.h> Loading src/TNL/Config/make_unique.hdeleted 100644 → 0 +0 −15 Original line number Diff line number Diff line #pragma once // std::make_unique does not exist until C++14 // https://stackoverflow.com/a/9657991 #if __cplusplus < 201402L #include <memory> namespace std { template<typename T, typename ...Args> std::unique_ptr<T> make_unique( Args&& ...args ) { return std::unique_ptr<T>( new T( std::forward<Args>(args)... ) ); } } #endif Loading
src/TNL/Config/ConfigDescription.h +0 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,6 @@ #include <string> #include <vector> #include <memory> #include "make_unique.h" #include <TNL/Assert.h> #include <TNL/String.h> Loading
src/TNL/Config/ParameterContainer.h +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ #include <vector> #include <memory> #include "make_unique.h" #include <TNL/param-types.h> //#include <TNL/Debugging/StackBacktrace.h> Loading
src/TNL/Config/make_unique.hdeleted 100644 → 0 +0 −15 Original line number Diff line number Diff line #pragma once // std::make_unique does not exist until C++14 // https://stackoverflow.com/a/9657991 #if __cplusplus < 201402L #include <memory> namespace std { template<typename T, typename ...Args> std::unique_ptr<T> make_unique( Args&& ...args ) { return std::unique_ptr<T>( new T( std::forward<Args>(args)... ) ); } } #endif