summaryrefslogtreecommitdiff
path: root/src/highlighters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/highlighters.cc')
-rw-r--r--src/highlighters.cc2
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
{