aboutsummaryrefslogtreecommitdiff
path: root/src/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base.h')
-rw-r--r--src/base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base.h b/src/base.h
index ce7a781d..18bf9cc5 100644
--- a/src/base.h
+++ b/src/base.h
@@ -62,9 +62,9 @@ namespace cru
}
template<typename Type>
- Type CreateFunctionPtr(Function<Type>&& function)
+ FunctionPtr<Type> CreateFunctionPtr(Function<Type>&& function)
{
- return std::make_shared<FunctionPtr<Type>>(std::move(function));
+ return std::make_shared<Function<Type>>(std::move(function));
}
inline ActionPtr CreateActionPtr(Action&& action)