]> granicus.if.org Git - icinga2/blobdiff - lib/livestatus/servicestable.hpp
Remove more redundant wrappers from CompatUtility class
[icinga2] / lib / livestatus / servicestable.hpp
index 2b43ed789edfd80f9eb2c8d39ed68975e95aac8c..afa9c84cde4240e2071979d98459de230b092cb2 100644 (file)
@@ -30,7 +30,7 @@ namespace icinga
 /**
  * @ingroup livestatus
  */
-class ServicesTable : public Table
+class ServicesTable final : public Table
 {
 public:
        DECLARE_PTR_TYPEDEFS(ServicesTable);
@@ -40,11 +40,11 @@ public:
        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 Object::Ptr HostAccessor(const Value& row, const Column::ObjectAccessor& parentObjectAccessor);
        static Object::Ptr ServiceGroupAccessor(const Value& row, LivestatusGroupByType groupByType, const Object::Ptr& groupByObject);
@@ -98,7 +98,6 @@ protected:
        static Value NotificationsEnabledAccessor(const Value& row);
        static Value ProcessPerformanceDataAccessor(const Value& row);
        static Value ActiveChecksEnabledAccessor(const Value& row);
-       static Value CheckOptionsAccessor(const Value& row);
        static Value FlapDetectionEnabledAccessor(const Value& row);
        static Value CheckFreshnessAccessor(const Value& row);
        static Value StalenessAccessor(const Value& row);