Changeset 10278 for trunk/FACT++


Ignore:
Timestamp:
03/31/11 16:13:29 (14 years ago)
Author:
tbretz
Message:
Skipped processing of the terminating entry in the list.
File:
1 edited

Legend:

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

    r10277 r10278  
    511511    vector<T> data;
    512512
    513     for (Converter::FormatList::const_iterator i=fList.begin(); i<fList.end(); i++)
     513    for (Converter::FormatList::const_iterator i=fList.begin(); i<fList.end()-1; i++)
    514514    {
    515515        if (*i->first.first == typeid(string))
     
    628628
    629629    T text;
    630     for (Converter::FormatList::const_iterator i=fList.begin(); i<fList.end(); i++)
     630    for (Converter::FormatList::const_iterator i=fList.begin(); i<fList.end()-1; i++)
    631631    {
    632632        if (ptr-size>=dat)
Note: See TracChangeset for help on using the changeset viewer.