MXS-2196: Make DCB a C++ struct
Allocating DCB with new allows the use of C++ objects in the DCB struct. Also the explicit poll field can be replaced by inheriting from MXB_POLL_DATA.
This commit is contained in:
@ -536,7 +536,7 @@ RoutingWorker::SessionsById& RoutingWorker::session_registry()
|
||||
|
||||
void RoutingWorker::register_zombie(DCB* pDcb)
|
||||
{
|
||||
mxb_assert(pDcb->poll.owner == this);
|
||||
mxb_assert(pDcb->owner == this);
|
||||
|
||||
m_zombies.push_back(pDcb);
|
||||
}
|
||||
|
Reference in New Issue
Block a user