diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-03-22 19:54:25 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-03-22 19:54:25 +1100 |
| commit | 2dd69b3d967aea4715746d827b88436822bfc41f (patch) | |
| tree | 7b6f1a419c50ebb43d0c867356d620eca82d0fb3 /src/regex_impl.hh | |
| parent | 794e7ce51c7b2256ebc98cf8b7c8d4291dcba382 (diff) | |
Make CompiledRegex not a RefCountable
Keep this closer to the point of use, avoid pull ref_ptr.hpp into
regex_impl.hpp
Diffstat (limited to 'src/regex_impl.hh')
| -rw-r--r-- | src/regex_impl.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regex_impl.hh b/src/regex_impl.hh index 8f11f1af..d8df2255 100644 --- a/src/regex_impl.hh +++ b/src/regex_impl.hh @@ -3,7 +3,6 @@ #include "exception.hh" #include "flags.hh" -#include "ref_ptr.hh" #include "unicode.hh" #include "utf8.hh" #include "vector.hh" @@ -66,7 +65,7 @@ struct CharacterClass }; -struct CompiledRegex : RefCountable, UseMemoryDomain<MemoryDomain::Regex> +struct CompiledRegex : UseMemoryDomain<MemoryDomain::Regex> { enum Op : char { |
