fixes #10041
Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
}
}
-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;
}
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: