Changeset 11734 for trunk/FACT++


Ignore:
Timestamp:
07/31/11 13:02:26 (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

    r11712 r11734  
    211211T Converter::Get(std::stringstream &line) const
    212212{
     213    if (!line)
     214        return T();
     215
    213216    char c;
    214217    line >> c;
Note: See TracChangeset for help on using the changeset viewer.