mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-20 01:40:29 +00:00
feature/freebsd-support-one: main freebsd adjustments
This commit is contained in:
@ -143,7 +143,7 @@ class WSConnection : NonCopyable {
|
||||
hubTrigger->setData(&asyncCb);
|
||||
|
||||
hubTrigger->start([](uS::Async *a){
|
||||
auto *r = static_cast<std::function<void()> *>(a->data);
|
||||
auto *r = static_cast<std::function<void()> *>(a->getData());
|
||||
(*r)();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user