Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_text.cpp


Ignore:
Timestamp:
Mar 19, 2021, 9:15:03 AM (3 years ago)
Author:
stoecker
Message:

update to qwt verion 6.1.1 to fix build with newer Qt5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_text.cpp

    r8127 r9383  
    6262QwtTextEngineDict::~QwtTextEngineDict()
    6363{
    64     for ( EngineMap::const_iterator it = d_map.begin();
    65         it != d_map.end(); ++it )
     64    for ( EngineMap::const_iterator it = d_map.constBegin();
     65        it != d_map.constEnd(); ++it )
    6666    {
    6767        const QwtTextEngine *textEngine = engine( it );
     
    108108        return;
    109109
    110     EngineMap::const_iterator it = d_map.find( format );
    111     if ( it != d_map.end() )
    112     {
    113         const QwtTextEngine *e = this->engine( it );
    114         if ( e )
    115             delete e;
    116 
     110    EngineMap::const_iterator it = d_map.constFind( format );
     111    if ( it != d_map.constEnd() )
     112    {
     113        delete this->engine( it );
    117114        d_map.remove( format );
    118115    }
Note: See TracChangeset for help on using the changeset viewer.