Try to bypass clang crash
This commit is contained in:
parent
77b1216ace
commit
eb8f785e91
|
@ -5,9 +5,11 @@ namespace Kakoune
|
||||||
{
|
{
|
||||||
|
|
||||||
Regex::Regex(StringView re, RegexCompileFlags flags)
|
Regex::Regex(StringView re, RegexCompileFlags flags)
|
||||||
: m_impl{new CompiledRegex{compile_regex(re, flags)}},
|
: m_impl{new CompiledRegex{}},
|
||||||
m_str{re.str()}
|
m_str{re.str()}
|
||||||
{}
|
{
|
||||||
|
*m_impl = compile_regex(re, flags);
|
||||||
|
}
|
||||||
|
|
||||||
int Regex::named_capture_index(StringView name) const
|
int Regex::named_capture_index(StringView name) const
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user