X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FtestServer.cc;h=9db2b09e27b42c36e964898e5c153ff5eab82c83;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=69192a2cb033fd4b0a79941cf4dccfdbc3163fd8;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Utils/Console/testServer.cc b/senf/Utils/Console/testServer.cc index 69192a2..9db2b09 100644 --- a/senf/Utils/Console/testServer.cc +++ b/senf/Utils/Console/testServer.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -46,8 +46,8 @@ struct TestObject { senf::console::ScopedDirectory dir; - TestObject() - : dir(this) + TestObject() + : dir(this) { dir.add("vat", fty::Command(&TestObject::vat, this) .arg("vat", "VAT in %", kw::default_value = 19) @@ -55,7 +55,7 @@ struct TestObject .doc("Returns the amount of {vat}-% VAT included in {amount}") ); } - double vat (int vat, double amount) + double vat (int vat, double amount) { return amount * vat/(100.0+vat); }