Utils/Console: fix for changed order of senf::console::factory::Command parameters
tho [Wed, 3 Feb 2010 15:57:35 +0000 (15:57 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1564 270642c3-0616-0410-b53a-bc976706d245

senf/Utils/Console/testServer.cc

index 393ba97..69192a2 100644 (file)
@@ -49,7 +49,7 @@ struct TestObject
     TestObject() 
         : dir(this) 
         {
-            dir.add("vat", fty::Command(this, &TestObject::vat)
+            dir.add("vat", fty::Command(&TestObject::vat, this)
                     .arg("vat", "VAT in %", kw::default_value = 19)
                     .arg("amount", "Amount including VAT")
                     .doc("Returns the amount of {vat}-% VAT included in {amount}") );