Commit f76222b4 authored by Lotrado's avatar Lotrado
Browse files

Fixed type error on cregex_iterator.

parent 3a0b888d
......@@ -122,7 +122,7 @@ namespace mirrage::util {
std::piecewise_construct,
std::forward_as_tuple(name),
std::forward_as_tuple(name, api, [api, f = std::forward<F>(f), this](std::string_view cmd) {
auto arg_iter = std::cregex_iterator(cmd.begin(), cmd.end(), split_args_regex);
auto arg_iter = std::cregex_iterator(cmd.data(), cmd.data()+cmd.size(), split_args_regex);
auto arg_end = std::cregex_iterator();
util::foreach_function_arg_call(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment