1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #include "livestatus/negatefilter.hpp"
5 using namespace icinga;
7 NegateFilter::NegateFilter(Filter::Ptr inner)
8 : m_Inner(std::move(inner))
11 bool NegateFilter::Apply(const Table::Ptr& table, const Value& row)
13 return !m_Inner->Apply(table, row);