]> granicus.if.org Git - icinga2/blobdiff - lib/livestatus/logtable.hpp
Remove more redundant wrappers from CompatUtility class
[icinga2] / lib / livestatus / logtable.hpp
index 62374bac9fb7bc99078e9f5ebbb64545fc4e4599..aab3e1f0ee2ab10038a18c2aac684177a9355a92 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                *
@@ -31,7 +31,7 @@ namespace icinga
 /**
  * @ingroup livestatus
  */
-class I2_LIVESTATUS_API LogTable : public HistoryTable
+class LogTable final : public HistoryTable
 {
 public:
        DECLARE_PTR_TYPEDEFS(LogTable);
@@ -41,13 +41,13 @@ 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;
 
        void UpdateLogEntries(const Dictionary::Ptr& log_entry_attrs, int line_count, int lineno, const AddRowFunction& addRowFn) 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 ServiceAccessor(const Value& row, const Column::ObjectAccessor& parentObjectAccessor);