Ignore:
Timestamp:
Oct 1, 2015, 2:54:17 PM (4 years ago)
Author:
nmedfort
Message:

Embedded UnicodeSet? into CC objects (will currently cause memory leak)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/cc_compiler.cpp

    r4797 r4812  
    102102        }
    103103        if (combine) {
    104             auto i = cc->cbegin();
    105             for (auto j = i; ++j != cc->cend(); i = j) {
     104            auto i = cc->begin(), e = cc->end();
     105            for (auto j = i; ++j != e; i = j) {
    106106                if ((lo_codepoint(i) + 2) != lo_codepoint(j)) {
    107107                    combine  = false;
Note: See TracChangeset for help on using the changeset viewer.