diff options
author | crupest <crupest@outlook.com> | 2018-09-30 20:38:10 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-30 20:38:10 +0800 |
commit | 88765aab936724cb01fa2ffd86d65181182a1cd2 (patch) | |
tree | cf8f400d221756add6c6a61ef001130812f57313 /src/base.h | |
parent | 20dc75e2ce6a9c38dd1888fdbf793fd8a3bc9cd3 (diff) | |
download | cru-88765aab936724cb01fa2ffd86d65181182a1cd2.tar.gz cru-88765aab936724cb01fa2ffd86d65181182a1cd2.tar.bz2 cru-88765aab936724cb01fa2ffd86d65181182a1cd2.zip |
Create border delegate.
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) |