Ignore:
Timestamp:
Jun 23, 2015, 9:29:39 AM (4 years ago)
Author:
nmedfort
Message:

Replaced CharSetItem? with a std::pair.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/printer_re.cpp

    r4405 r4614  
    4949        retVal += "\" ";
    5050
    51         for (const CharSetItem & item : *re_cc)
    52         {
     51        for (const auto & i : *re_cc) {
    5352            retVal += "[";
    54             retVal += std::to_string(item.lo_codepoint) + ",";
    55             retVal += std::to_string(item.hi_codepoint);
     53            retVal += std::to_string(lo_codepoint(i)) + ",";
     54            retVal += std::to_string(hi_codepoint(i));
    5655            retVal += "]";
    5756        }
Note: See TracChangeset for help on using the changeset viewer.