Utils/Console: changed order of factory::Command parameters
[senf.git] / senf / Utils / Statistics.cci
index 27c953d..5a31e36 100644 (file)
@@ -67,7 +67,7 @@ prefix_ void senf::StatisticsBase::OutputEntry::initDir()
 {
     namespace fty = senf::console::factory;
 
-    dir.add("list", fty::Command(this,&OutputEntry::consoleList)
+    dir.add("list", fty::Command(&OutputEntry::consoleList, this)
             .doc("List all known connected targets. This list might not be complete.") );
 }