Base: Move std::make_unique to Base
This commit is contained in:
@@ -24,17 +24,11 @@
|
||||
#ifndef PART_GEOMETRYEXTENSION_H
|
||||
#define PART_GEOMETRYEXTENSION_H
|
||||
|
||||
#include <Base/StdStlTools.h>
|
||||
#include <Base/Persistence.h>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
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)...));
|
||||
}
|
||||
}
|
||||
|
||||
namespace Part {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user