Changeset 18614 for trunk/FACT++


Ignore:
Timestamp:
09/17/16 23:37:05 (8 years ago)
Author:
tbretz
Message:
Another mystery of thenew system Ubuntu 16.04... the tokenizer here needs a copy to provide proper results.
File:
1 edited

Legend:

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

    r18426 r18614  
    13321332    }
    13331333
     1334    // It seems a copy is required either in the boost which comes with
     1335    // Ubuntu 16.04 or in gcc5 ?!
     1336    const string fmt = evt->GetFormat();
     1337
    13341338    typedef boost::char_separator<char> separator;
    1335     const boost::tokenizer<separator> tokenizer(evt->GetFormat(), separator(";:"));
     1339    const boost::tokenizer<separator> tokenizer(fmt, separator(";:"));
    13361340
    13371341    const vector<string> tok(tokenizer.begin(), tokenizer.end());
Note: See TracChangeset for help on using the changeset viewer.