mirror of https://github.com/Icinga/icinga2.git
Fix build on Mac with -DICINGA2_UNITY_BUILD=OFF -DICINGA2_WITH_LIVESTATUS=ON
error: no matching function for call to 'intrusive_ptr_release' ... candidate function not viable: cannot convert argument of incomplete type 'icinga::Notification *' to 'Object *' for 1st argument void intrusive_ptr_release(Object *object);
This commit is contained in:
parent
01d3a1d382
commit
2bbeaec916
|
@ -55,6 +55,7 @@ class ApplyRule;
|
|||
struct ScriptFrame;
|
||||
class Host;
|
||||
class Service;
|
||||
class UserGroup;
|
||||
|
||||
/**
|
||||
* An Icinga notification specification.
|
||||
|
@ -73,7 +74,7 @@ public:
|
|||
intrusive_ptr<NotificationCommand> GetCommand() const;
|
||||
TimePeriod::Ptr GetPeriod() const;
|
||||
std::set<User::Ptr> GetUsers() const;
|
||||
std::set<UserGroup::Ptr> GetUserGroups() const;
|
||||
std::set<intrusive_ptr<UserGroup>> GetUserGroups() const;
|
||||
|
||||
void UpdateNotificationNumber();
|
||||
void ResetNotificationNumber();
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#define USERGROUP_H
|
||||
|
||||
#include "icinga/i2-icinga.hpp"
|
||||
#include "icinga/notification.hpp"
|
||||
#include "icinga/usergroup-ti.hpp"
|
||||
#include "icinga/user.hpp"
|
||||
|
||||
|
|
Loading…
Reference in New Issue