mirror of https://github.com/Icinga/icinga2.git
Build fix for the demo module
fixes #10041 Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
This commit is contained in:
parent
6705853e33
commit
9b73205481
|
@ -59,10 +59,10 @@ void Demo::DemoTimerHandler(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Value Demo::DemoMessageHandler(const MessageOrigin& origin, const Dictionary::Ptr&)
|
Value Demo::DemoMessageHandler(const MessageOrigin::Ptr& origin, const Dictionary::Ptr&)
|
||||||
{
|
{
|
||||||
Log(LogInformation, "Demo")
|
Log(LogInformation, "Demo")
|
||||||
<< "Got demo message from '" << origin.FromClient->GetEndpoint()->GetName() << "'";
|
<< "Got demo message from '" << origin->FromClient->GetEndpoint()->GetName() << "'";
|
||||||
|
|
||||||
return Empty;
|
return Empty;
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@ public:
|
||||||
|
|
||||||
virtual void Start(void);
|
virtual void Start(void);
|
||||||
|
|
||||||
static Value DemoMessageHandler(const MessageOrigin& origin, const Dictionary::Ptr& params);
|
static Value DemoMessageHandler(const MessageOrigin::Ptr& origin, const Dictionary::Ptr& params);
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue