Base: Move std::make_unique to Base

This commit is contained in:
Abdullah Tahiri
2019-02-15 17:07:16 +01:00
committed by wmayer
parent 5a435f8d84
commit 3554cd9832
3 changed files with 43 additions and 7 deletions

View File

@@ -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 {