1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-18 17:02:06 +03:00

regex: track CompiledRegex::StartDesc in the Regex memory domain

This commit is contained in:
Maxime Coste 2018-02-24 16:29:24 +11:00
parent 9bd9fecb53
commit af21d4ca1e

View File

@ -101,7 +101,7 @@ struct CompiledRegex : RefCountable, UseMemoryDomain<MemoryDomain::Regex>
uint32_t first_backward_inst; // -1 if no backward support, 0 if only backward, >0 if both forward and backward
uint32_t save_count;
struct StartDesc
struct StartDesc : UseMemoryDomain<MemoryDomain::Regex>
{
static constexpr size_t count = 256;
static constexpr Codepoint other = 256;