diff options
Diffstat (limited to 'src/base.h')
-rw-r--r-- | src/base.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |