X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstrings%2Fregex.cpp;fp=source%2Fstrings%2Fregex.cpp;h=27361b038b168071cabd98aa45a37e37fb27d9cc;hp=9167c6b8a9e6ae0f75fd52206bb96efe45a9424b;hb=44da9fc9afb6b7e49c1558c5572213a1e6f401e8;hpb=f24e7b96e76b63c9b9b8a6bce4c7a9db64276ea8 diff --git a/source/strings/regex.cpp b/source/strings/regex.cpp index 9167c6b..27361b0 100644 --- a/source/strings/regex.cpp +++ b/source/strings/regex.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include "format.h" #include "regex.h" @@ -157,7 +158,7 @@ Regex::Code Regex::compile(const string &expr, string::const_iterator &iter, uns } else { - list branches; + vector branches; for(auto i=iter;;) { branches.push_back(compile(expr, i, group, true));