Ticket #7: passInEventHandler.patch

File passInEventHandler.patch, 459 bytes (added by kim, 12 years ago)

fix

  • Cbc/src/CbcModel.cpp

     
    76207620*/
    76217621void CbcModel::passInEventHandler (const CbcEventHandler *eventHandler)
    76227622{
    7623   delete eventHandler_;
    7624   eventHandler = NULL ;
    7625   if (eventHandler)
     7623  if (eventHandler) {
     7624    delete eventHandler_;
    76267625    eventHandler_ = eventHandler->clone();
     7626  }
    76277627}
    76287628
    76297629/*