Ignore:
Timestamp:
May 14, 2007 8:37:33 PM (12 years ago)
Author:
lou
Message:

Cbc-generic: Add message handler, separate libCbc and cbc-generic main log
level parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/CbcGenCtlBlk.cpp

    r591 r608  
    1212
    1313#include "CbcGenCtlBlk.hpp"
     14
     15namespace {
     16
     17  char svnid[] = "$Id$" ;
     18
     19}
    1420
    1521/*
     
    5965
    6066  printOpt_ = 0 ;
     67
     68/*
     69  Assigning us_en to cur_lang_ is entirely bogus, but CoinMessages::Language
     70  does not provide an `unspecified' code.
     71*/
     72  msgHandler_ = new CoinMessageHandler() ;
     73  ourMsgHandler_ = true ;
     74  cur_lang_ = CoinMessages::us_en ;
     75  msgs_ = 0 ;
     76  logLvl_ = 0 ;
    6177
    6278  totalTime_ = 0.0 ;
     
    185201  if (greedyEquality_.proto_) delete greedyEquality_.proto_ ;
    186202  if (rounding_.proto_) delete rounding_.proto_ ;
     203
     204  if (msgHandler_ && ourMsgHandler_) delete msgHandler_ ;
     205  if (msgs_) delete msgs_ ;
    187206
    188207  return ; }
Note: See TracChangeset for help on using the changeset viewer.