X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=lib%2Fconfig%2Fapplyrule.cpp;h=17730076e1dd9bec1487031a9b2110b57aa2b530;hb=cfd775c9489806aeac4c8c4b7a6ec603713b258b;hp=a9274463fd00e45eead0a9cb55d3ac881f7f1f10;hpb=aa38dde1fcdf88830870542229b8191dd5717c7b;p=icinga2 diff --git a/lib/config/applyrule.cpp b/lib/config/applyrule.cpp index a9274463f..17730076e 100644 --- a/lib/config/applyrule.cpp +++ b/lib/config/applyrule.cpp @@ -86,7 +86,7 @@ void ApplyRule::AddRule(const String& sourceType, const String& targetType, cons m_Rules[sourceType].push_back(ApplyRule(targetType, name, expression, filter, fkvar, fvvar, fterm, di, scope)); } -bool ApplyRule::EvaluateFilter(VMFrame& frame) const +bool ApplyRule::EvaluateFilter(ScriptFrame& frame) const { return m_Filter->Evaluate(frame).ToBool(); }