mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 21:25:55 +08:00
Restore evil-enabling reinterpret_cast in SocketMultiplexer
This commit is contained in:
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user