Ignore:
Timestamp:
31 Jul 2014, 15:30:18 (10 years ago)
Author:
tech
Message:

Fix tickets #61 + #62.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev0/source/Lib/TAppCommon/program_options_lite.h

    r872 r1033  
    378378        std::string cDescBuffer;
    379379
     380#if !FIX_TICKET_62
    380381        cNameBuffer       .resize( name.size() + 10 );
    381382        cDescBuffer.resize( desc.size() + 10 );
     383#endif
    382384
    383385        storage.resize(uiMaxNum);
    384386        for ( unsigned int uiK = 0; uiK < uiMaxNum; uiK++ )
    385387        {
     388
     389#if FIX_TICKET_62
     390          cNameBuffer       .resize( name.size() + 10 );
     391          cDescBuffer.resize( desc.size() + 10 );
     392#endif
     393
    386394          Bool duplicate = (uiK != 0);
    387395          // isn't there are sprintf function for string??
Note: See TracChangeset for help on using the changeset viewer.