aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/backends/Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph/backends/Utils.h')
-rw-r--r--arm_compute/graph/backends/Utils.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arm_compute/graph/backends/Utils.h b/arm_compute/graph/backends/Utils.h
index 7d67f3b9e3..5f4e66c207 100644
--- a/arm_compute/graph/backends/Utils.h
+++ b/arm_compute/graph/backends/Utils.h
@@ -42,9 +42,10 @@ namespace backends
* @return A configured backend function
*/
template <typename FunctionType, typename FunctionNameType, typename... ParameterType>
-std::tuple<std::unique_ptr<arm_compute::IFunction>, FunctionNameType> create_named_function(FunctionNameType name, ParameterType... args)
+std::tuple<std::unique_ptr<arm_compute::IFunction>, FunctionNameType> create_named_function(FunctionNameType name,
+ ParameterType... args)
{
- auto f = arm_compute::support::cpp14::make_unique<FunctionType>();
+ auto f = std::make_unique<FunctionType>();
f->configure(std::forward<ParameterType>(args)...);
return std::make_pair(std::move(f), name);
}
@@ -58,11 +59,10 @@ std::tuple<std::unique_ptr<arm_compute::IFunction>, FunctionNameType> create_nam
* @return A configured backend function
*/
template <typename FunctionType, typename FunctionNameType, typename MemoryManagerType, typename... ParameterType>
-std::tuple<std::unique_ptr<arm_compute::IFunction>, FunctionNameType> create_named_memory_managed_function(FunctionNameType name,
- MemoryManagerType mm,
- ParameterType... args)
+std::tuple<std::unique_ptr<arm_compute::IFunction>, FunctionNameType>
+create_named_memory_managed_function(FunctionNameType name, MemoryManagerType mm, ParameterType... args)
{
- auto f = arm_compute::support::cpp14::make_unique<FunctionType>(mm);
+ auto f = std::make_unique<FunctionType>(mm);
f->configure(std::forward<ParameterType>(args)...);
return std::make_pair(std::move(f), name);
}