Changeset 11735 for trunk


Ignore:
Timestamp:
07/31/11 13:13:59 (13 years ago)
Author:
tbretz
Message:
If we are already at the end of the stream return a default rather than try to analyze the stream further.
File:
1 edited

Legend:

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

    r11734 r11735  
    211211T Converter::Get(std::stringstream &line) const
    212212{
     213    char c;
     214    line >> c;
    213215    if (!line)
    214216        return T();
    215 
    216     char c;
    217     line >> c;
    218217
    219218    if (c=='0')
Note: See TracChangeset for help on using the changeset viewer.