diff options
Diffstat (limited to 'include/nnfw/std/memory.h')
-rw-r--r-- | include/nnfw/std/memory.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/nnfw/std/memory.h b/include/nnfw/std/memory.h deleted file mode 100644 index dd0236958..000000000 --- a/include/nnfw/std/memory.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef __NNFW_STD_MEMORY_H__ -#define __NNFW_STD_MEMORY_H__ - -#include <memory> - -namespace nnfw -{ - -template <typename T, typename... Args> std::unique_ptr<T> make_unique(Args &&... args) -{ - // NOTE std::make_unique is missing in C++11 standard - return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); -} - -} // namespace nnfw - -#endif // __NNFW_STD_MEMORY_H__ |