diff options
Diffstat (limited to 'arm_compute/graph/OperationRegistrar.h')
-rw-r--r-- | arm_compute/graph/OperationRegistrar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arm_compute/graph/OperationRegistrar.h b/arm_compute/graph/OperationRegistrar.h index ff31963dc3..ee171c3510 100644 --- a/arm_compute/graph/OperationRegistrar.h +++ b/arm_compute/graph/OperationRegistrar.h @@ -43,15 +43,15 @@ class OperationRegistrar final public: /** Add a new test case with the given name to the framework. * - * @param[in] operation_name Operation name + * @param[in] operation Operation type */ - OperationRegistrar(std::string operation_name); + OperationRegistrar(OperationType operation); }; template <typename T> -inline OperationRegistrar<T>::OperationRegistrar(std::string operation_name) +inline OperationRegistrar<T>::OperationRegistrar(OperationType operation) { - OperationRegistry::get().add_operation<T>(std::move(operation_name)); + OperationRegistry::get().add_operation<T>(std::move(operation)); } } // namespace detail } // namespace graph |