Ignore:
Timestamp:
Aug 29, 2016, 3:37:03 PM (3 years ago)
Author:
cameron
Message:

Some clean ups of encoding info for ccc restructuring.

File:
1 edited

Legend:

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

    r5134 r5137  
    4343namespace re {
    4444
    45 void RE_Compiler::initializeRequiredStreams(Encoding encoding) {
    46     if (encoding.getType() == Encoding::Type::UTF_8) {
     45void RE_Compiler::initializeRequiredStreams(const unsigned encodingBits) {
     46    if (encodingBits == 8) {
    4747      RE_Compiler::initializeRequiredStreams_utf8();
    4848    }
    49     else if (encoding.getType() == Encoding::Type::UTF_16) {
     49    else if (encodingBits == 16) {
    5050      RE_Compiler::initializeRequiredStreams_utf16();
    5151    }
Note: See TracChangeset for help on using the changeset viewer.