X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstrings%2Fregex.cpp;h=6122fe40c557c9716cca6e88e7b2926408ad29ef;hp=67157c9b185e434adf995ec75eeb3f122869ea9a;hb=b537410dcd5b7e661625b51ee72b15e40045fd18;hpb=7a493cb73ff5f5f820d4873d6c993d0e9c5a580a diff --git a/source/strings/regex.cpp b/source/strings/regex.cpp index 67157c9..6122fe4 100644 --- a/source/strings/regex.cpp +++ b/source/strings/regex.cpp @@ -10,7 +10,7 @@ namespace { /** Writes an integer to a Regex code string, in little-endian order. */ template -void write_int(T n, Msp::Regex::Code &code) +void write_int(T n, basic_string &code) { for(unsigned i=0; i>(i*8))&0xFF; @@ -18,7 +18,7 @@ void write_int(T n, Msp::Regex::Code &code) /** Reads an integer from a Regex code string, in little-endian order. */ template -T read_int(Msp::Regex::Code::const_iterator &c) +T read_int(basic_string::const_iterator &c) { T result = 0; for(unsigned i=0; i