mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-04 21:04:59 +08:00
Restore evil-enabling reinterpret_cast in SocketMultiplexer
This commit is contained in:
parent
0371002497
commit
90c3dd6622
@ -46,7 +46,8 @@ SocketMultiplexer::SocketMultiplexer() :
|
||||
// this pointer just has to be unique and not NULL. it will
|
||||
// never be dereferenced. it's used to identify cursor nodes
|
||||
// in the jobs list.
|
||||
m_cursorMark = static_cast<ISocketMultiplexerJob*>(this);
|
||||
// TODO: Remove this evilness
|
||||
m_cursorMark = reinterpret_cast<ISocketMultiplexerJob*>(this);
|
||||
|
||||
// start thread
|
||||
m_thread = new Thread(new TMethodJob<SocketMultiplexer>(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user