Build fix for the demo module

fixes #10041

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
This commit is contained in:
Paul Richards 2015-08-30 12:26:07 +01:00 committed by Michael Friedrich
parent 6705853e33
commit 9b73205481
2 changed files with 3 additions and 3 deletions

View File

@ -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")
<< "Got demo message from '" << origin.FromClient->GetEndpoint()->GetName() << "'";
<< "Got demo message from '" << origin->FromClient->GetEndpoint()->GetName() << "'";
return Empty;
}

View File

@ -38,7 +38,7 @@ public:
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: