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 coverity scan initial configuration
[command.git]
/
tests
/
parameter
/
TestParameter.h
diff --git
a/tests/parameter/TestParameter.h
b/tests/parameter/TestParameter.h
index 592c6532911dd85dc43b2c0ba710c75ba89eb901..cf985caf54680c72a15eacdedadf40def399fe08 100644
(file)
--- a/
tests/parameter/TestParameter.h
+++ b/
tests/parameter/TestParameter.h
@@
-6,5
+6,9
@@
public:
TestParameter(const std::string & description) : Parameter(description) { }
virtual void handle() { }
TestParameter(const std::string & description) : Parameter(description) { }
virtual void handle() { }
- virtual bool understand(const std::string & argVal) { }
+ virtual bool understand(const std::string & ) { return false; }
+
+ virtual unsigned int valuePosition(const std::string & value) {
+ return 0;
+ }
};
\ No newline at end of file
};
\ No newline at end of file