/******************************************************************************
* Icinga 2 *
- * Copyright (C) 2012-2015 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 *
******************************************************************************/
#include "livestatus/andfilter.hpp"
-#include <boost/foreach.hpp>
using namespace icinga;
-AndFilter::AndFilter(void)
-{ }
-
bool AndFilter::Apply(const Table::Ptr& table, const Value& row)
{
- BOOST_FOREACH(const Filter::Ptr& filter, m_Filters) {
+ for (const Filter::Ptr& filter : m_Filters) {
if (!filter->Apply(table, row))
return false;
}