]> granicus.if.org Git - icinga2/blobdiff - lib/livestatus/orfilter.hpp
Move CompatUtility::GetCheckableInCheckPeriod() into Livestatus feature
[icinga2] / lib / livestatus / orfilter.hpp
index f1a4794dfd422762eaddecae8d34711c0859bf52..d37f2e09f188eb9fa7583a8f5f03ad8084ed06e1 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
  * Icinga 2                                                                   *
- * Copyright (C) 2012-2014 Icinga Development Team (http://www.icinga.org)    *
+ * 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,14 +30,12 @@ namespace icinga
 /**
  * @ingroup livestatus
  */
-class OrFilter : public CombinerFilter
+class OrFilter final : public CombinerFilter
 {
 public:
-       DECLARE_OBJECT(OrFilter);
+       DECLARE_PTR_TYPEDEFS(OrFilter);
 
-       OrFilter(void);
-
-       virtual bool Apply(const Table::Ptr& table, const Value& row);
+       bool Apply(const Table::Ptr& table, const Value& row) override;
 };
 
 }