Ignore:
Timestamp:
10/31/11 18:55:17 (13 years ago)
Author:
tbretz
Message:
Removed the warning in case of double delete... so far no problems weere encountered.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimServiceInfoList.cc

    r12130 r12349  
    227227                // This should never happen if Dim works reliable
    228228                const TypeList::iterator v = list.find(name);
     229                /*
    229230                if (v==list.end())
    230231                {
     
    234235                    // and e.g. the datalogger is immediately quit
    235236                    throw runtime_error(err.str());
    236                 }
     237                }*/
    237238
    238239                RemoveService(server, name, iscmd);
    239                 list.erase(v);
     240                if (v!=list.end())
     241                    list.erase(v);
    240242
    241243                continue;
Note: See TracChangeset for help on using the changeset viewer.