mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
events: remove static_cast
This commit is contained in:
parent
4092c9a473
commit
e0d33a9683
@ -130,7 +130,7 @@ WSEvents::~WSEvents() {
|
||||
}
|
||||
|
||||
void WSEvents::FrontendEventHandler(enum obs_frontend_event event, void* private_data) {
|
||||
WSEvents* owner = static_cast<WSEvents*>(private_data);
|
||||
auto owner = reinterpret_cast<WSEvents*>(private_data);
|
||||
|
||||
if (!owner->_srv) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user