Add required test for parameter.
[command.git] / tests / parameter / TestParameter.h
index 9736133cddaf4ec3a1c8358f1635f220c2d626db..9e2874d8e3326d561ae3fca2a2bd1a63abc88281 100644 (file)
@@ -3,8 +3,8 @@
 
 class TestParameter : public command::Parameter {
 public:
-    TestParameter(std::string description) : Parameter(description) { }
+    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; }
 };
\ No newline at end of file