From: Gunnar Beutner Date: Thu, 20 Nov 2014 21:53:59 +0000 (+0100) Subject: Build fix X-Git-Tag: v2.3.0~653 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aef7c487cfdc30b8974022e41cc41acf0914483e;p=icinga2 Build fix refs #7699 --- diff --git a/lib/config/vmops.hpp b/lib/config/vmops.hpp index 3db6b6532..bb53217b0 100644 --- a/lib/config/vmops.hpp +++ b/lib/config/vmops.hpp @@ -33,6 +33,7 @@ #include "base/scriptvariable.hpp" #include "base/configerror.hpp" #include "base/convert.hpp" +#include "base/objectlock.hpp" #include #include #include @@ -171,11 +172,9 @@ public: item->SetAbstract(abstract); item->SetScope(context); item->SetZone(zone); + item->SetFilter(filter); item->Compile()->Register(); - if (filter) - ObjectRule::AddRule(type, name, filter, debugInfo, context); - return Empty; }