dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
command.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eaf8889
)
Remove commented out code
author
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Mon, 8 Feb 2016 21:01:46 +0000
(22:01 +0100)
committer
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Mon, 8 Feb 2016 21:01:46 +0000
(22:01 +0100)
include/callable.h
patch
|
blob
|
history
diff --git
a/include/callable.h
b/include/callable.h
index f4d9e084cabe385dfcee6cfbfb0adcf87016e551..efff3e8d88b2d1d0fbe36668a6798e85acc47128 100644
(file)
--- a/
include/callable.h
+++ b/
include/callable.h
@@
-14,7
+14,6
@@
namespace command {
/**
* Function handling user Arguments
*/
/**
* Function handling user Arguments
*/
-// void (*func)(ParameterType);
std::function<void(ParameterType)> func;
public:
std::function<void(ParameterType)> func;
public:
@@
-23,10
+22,6
@@
namespace command {
*
* @param function Function that will be invoked
*/
*
* @param function Function that will be invoked
*/
-// Callable(void (*function)(ParameterType))
-// : func(function) {
-// }
-
Callable(std::function<void(ParameterType)> function)
: func(function) {
}
Callable(std::function<void(ParameterType)> function)
: func(function) {
}
@@
-54,7
+49,6
@@
namespace command {
/**
* Function handling user Arguments
*/
/**
* Function handling user Arguments
*/
-// void (*func)(void);
std::function<void(void)> func;
public:
std::function<void(void)> func;
public:
@@
-63,10
+57,6
@@
namespace command {
*
* @param function Function that will be invoked
*/
*
* @param function Function that will be invoked
*/
-// Callable(void (*function)(void))
-// : func(function) {
-// }
-
Callable(std::function<void(void)> function)
: func(function) {
}
Callable(std::function<void(void)> function)
: func(function) {
}