]> granicus.if.org Git - icinga2/blobdiff - lib/livestatus/commandstable.hpp
Remove more redundant wrappers from CompatUtility class
[icinga2] / lib / livestatus / commandstable.hpp
index fe63ca74c2bf93c49ce539bb9475f25a1935b3d5..3589f969f176245a914daaee884e28cb56eadf34 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
  * Icinga 2                                                                   *
- * Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/)  *
+ * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/)  *
  *                                                                            *
  * This program is free software; you can redistribute it and/or              *
  * modify it under the terms of the GNU General Public License                *
@@ -30,21 +30,21 @@ namespace icinga
 /**
  * @ingroup livestatus
  */
-class I2_LIVESTATUS_API CommandsTable : public Table
+class CommandsTable final : public Table
 {
 public:
        DECLARE_PTR_TYPEDEFS(CommandsTable);
 
-       CommandsTable(void);
+       CommandsTable();
 
        static void AddColumns(Table *table, const String& prefix = String(),
                const Column::ObjectAccessor& objectAccessor = Column::ObjectAccessor());
 
-       virtual String GetName(void) const override;
-       virtual String GetPrefix(void) const override;
+       String GetName() const override;
+       String GetPrefix() const override;
 
 protected:
-       virtual void FetchRows(const AddRowFunction& addRowFn) override;
+       void FetchRows(const AddRowFunction& addRowFn) override;
 
        static Value NameAccessor(const Value& row);
        static Value LineAccessor(const Value& row);