Skip to content
Snippets Groups Projects
Commit 091cd04d authored by Radovan Červený's avatar Radovan Červený
Browse files

removed make_unique

parent 4b422073
No related branches found
No related tags found
1 merge request!14BP_cervera3 - new measurements
...@@ -19,11 +19,6 @@ enum class Type : unsigned { ...@@ -19,11 +19,6 @@ enum class Type : unsigned {
std::string to_string ( Type ); std::string to_string ( Type );
std::ostream & operator <<( std::ostream &, Type ); std::ostream & operator <<( std::ostream &, Type );
   
template < typename T, typename ... Args >
std::unique_ptr < T > make_unique ( Args && ... args ) {
return std::unique_ptr < T > ( new T ( std::forward < Args > ( args ) ... ) );
}
template < typename T > template < typename T >
class stealth_allocator : public std::allocator < T > { class stealth_allocator : public std::allocator < T > {
public: public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment