From: Rafał Długołęcki Date: Mon, 8 Feb 2016 21:01:46 +0000 (+0100) Subject: Remove commented out code X-Git-Tag: v0.3~3 X-Git-Url: https://git.dlugolecki.net.pl/?p=command.git;a=commitdiff_plain;h=be908ca25a1137587c2f49e457bd9e13e310991d;hp=eaf888960119de8ce2190df5ffed7325f540cb8d Remove commented out code --- diff --git a/include/callable.h b/include/callable.h index f4d9e08..efff3e8 100644 --- a/include/callable.h +++ b/include/callable.h @@ -14,7 +14,6 @@ namespace command { /** * Function handling user Arguments */ -// void (*func)(ParameterType); std::function func; public: @@ -23,10 +22,6 @@ namespace command { * * @param function Function that will be invoked */ -// Callable(void (*function)(ParameterType)) -// : func(function) { -// } - Callable(std::function function) : func(function) { } @@ -54,7 +49,6 @@ namespace command { /** * Function handling user Arguments */ -// void (*func)(void); std::function func; public: @@ -63,10 +57,6 @@ namespace command { * * @param function Function that will be invoked */ -// Callable(void (*function)(void)) -// : func(function) { -// } - Callable(std::function function) : func(function) { }