From: tho Date: Wed, 3 Feb 2010 15:57:35 +0000 (+0000) Subject: Utils/Console: fix for changed order of senf::console::factory::Command parameters X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=3a0e403d889f8a16d78d50bbcd7a0f0157b05313;p=senf.git Utils/Console: fix for changed order of senf::console::factory::Command parameters git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1564 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Utils/Console/testServer.cc b/senf/Utils/Console/testServer.cc index 393ba97..69192a2 100644 --- a/senf/Utils/Console/testServer.cc +++ b/senf/Utils/Console/testServer.cc @@ -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}") );