diff options
| author | Maxime Coste <mawww@kakoune.org> | 2025-07-08 11:52:44 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2025-07-08 12:07:33 +1000 |
| commit | de1516a8d822f72bddfb158126b6e609afc63c64 (patch) | |
| tree | 9765b18349657a766b92046cd23976ad26815acf /src/highlighters.cc | |
| parent | ce1d512a0c1922ab5f43f28e7bae573508c98601 (diff) | |
Replace on_scope_end with CTAD with OnScopeEnd directly
Diffstat (limited to 'src/highlighters.cc')
| -rw-r--r-- | src/highlighters.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highlighters.cc b/src/highlighters.cc index 9787b487..9494ba8a 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -1688,7 +1688,7 @@ private: return write_to_debug_buffer(format("highlighting recursion detected with ref to {}", m_name)); running_refs.push_back(desc); - auto pop_desc = on_scope_end([] { running_refs.pop_back(); }); + auto pop_desc = OnScopeEnd([] { running_refs.pop_back(); }); try { |
