From af21d4ca1e19ca3890475c41c24f48c82e26f4a2 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 24 Feb 2018 16:29:24 +1100 Subject: [PATCH] regex: track CompiledRegex::StartDesc in the Regex memory domain --- src/regex_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regex_impl.hh b/src/regex_impl.hh index b39c90df6..1820e42be 100644 --- a/src/regex_impl.hh +++ b/src/regex_impl.hh @@ -101,7 +101,7 @@ struct CompiledRegex : RefCountable, UseMemoryDomain 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 { static constexpr size_t count = 256; static constexpr Codepoint other = 256;