dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
command.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add required test for parameter.
[command.git]
/
tests
/
parameter
/
TestParameter.h
diff --git
a/tests/parameter/TestParameter.h
b/tests/parameter/TestParameter.h
index 9736133cddaf4ec3a1c8358f1635f220c2d626db..9e2874d8e3326d561ae3fca2a2bd1a63abc88281 100644
(file)
--- a/
tests/parameter/TestParameter.h
+++ b/
tests/parameter/TestParameter.h
@@
-3,8
+3,8
@@
class TestParameter : public command::Parameter {
public:
class TestParameter : public command::Parameter {
public:
- TestParameter(
std::string
description) : Parameter(description) { }
+ TestParameter(
const std::string &
description) : Parameter(description) { }
virtual void handle() { }
virtual void handle() { }
- virtual bool understand(const std::string &
argVal) {
}
+ virtual bool understand(const std::string &
) { return false;
}
};
\ No newline at end of file
};
\ No newline at end of file