Changeset 11041 for trunk/FACT++/src
- Timestamp:
- 06/16/11 19:55:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Converter.cc
r11027 r11041 537 537 case 'x': GetBinImp(data, Get<long long>(line)); break; 538 538 case 'c': 539 if (line.peek()==-1)540 539 { 541 line.clear(ios::failbit|ios::eofbit); 542 break; 540 const unsigned short val = Get<unsigned short>(line); 541 if (val>255) 542 line.setstate(ios::failbit); 543 GetBinImp(data, static_cast<unsigned char>(val)); 543 544 } 544 GetBinImp(data, Get<unsigned char>(line));545 if (line.peek()==-1)546 line.clear(ios::eofbit);547 545 break; 548 546 case 'N':
Note:
See TracChangeset
for help on using the changeset viewer.