Fix formatting.
[command.git] / tests / parameter / TestParameter.h
index 9736133cddaf4ec3a1c8358f1635f220c2d626db..cf985caf54680c72a15eacdedadf40def399fe08 100644 (file)
@@ -3,8 +3,12 @@
 
 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; }
+
+    virtual unsigned int valuePosition(const std::string & value) {
+        return 0;
+    }
 };
\ No newline at end of file