Changeset 16959 for trunk


Ignore:
Timestamp:
07/18/13 13:10:01 (11 years ago)
Author:
tbretz
Message:
Use ::tolower instead of this compilcated cast construction.
File:
1 edited

Legend:

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

    r14613 r16959  
    265265    string buf;
    266266    line >> buf;
    267     transform(buf.begin(), buf.end(), buf.begin(), (int(*)(int)) std::tolower);
     267    transform(buf.begin(), buf.end(), buf.begin(), ::tolower);
    268268
    269269    if (buf=="yes" || buf=="true" || buf=="on" || buf=="1")
Note: See TracChangeset for help on using the changeset viewer.