X-Git-Url: https://git.dlugolecki.net.pl/?p=command.git;a=blobdiff_plain;f=tests%2Fcallable%2FTestCallable.h;h=a4185c52bde0bac6df2587dde4bc067142f58930;hp=7fea87045200dacf0823ed10989ed91158235ceb;hb=ae6743a2a2c69b7a927f64ff1d3abf38a5e7d4bc;hpb=948c501fbb8d47898a9c92697327c5ffa70a898f diff --git a/tests/callable/TestCallable.h b/tests/callable/TestCallable.h index 7fea870..a4185c5 100644 --- a/tests/callable/TestCallable.h +++ b/tests/callable/TestCallable.h @@ -9,6 +9,10 @@ public: : Callable(function) { } + TestCallable(std::function function) + : Callable(function) { + } + void callFunction(ArgumentType test) { this->call(test); } @@ -21,6 +25,10 @@ public: : Callable(function) { } + TestCallable(std::function function) + : Callable(function) { + } + void callFunction() { this->call(); }