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
|
// this pointer just has to be unique and not NULL. it will
|
||||||
// never be dereferenced. it's used to identify cursor nodes
|
// never be dereferenced. it's used to identify cursor nodes
|
||||||
// in the jobs list.
|
// in the jobs list.
|
||||||
m_cursorMark = static_cast<ISocketMultiplexerJob*>(this);
|
// TODO: Remove this evilness
|
||||||
|
m_cursorMark = reinterpret_cast<ISocketMultiplexerJob*>(this);
|
||||||
|
|
||||||
// start thread
|
// start thread
|
||||||
m_thread = new Thread(new TMethodJob<SocketMultiplexer>(
|
m_thread = new Thread(new TMethodJob<SocketMultiplexer>(
|
||||||
|
|
Loading…
Reference in New Issue