Skip to content

Commit 93e94a5

Browse files
committed
const all the things
1 parent 59ca720 commit 93e94a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/document/ShallowAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ lsp::SemanticTokens ShallowAnalysis::getSemanticTokens(bool inactiveRegionsSuppo
631631
lsp::uint endChar = range.end.character;
632632

633633
if (line != range.end.line) {
634-
auto text = m_sourceManager.getLine(m_buffer, line + 1);
634+
const auto text = m_sourceManager.getLine(m_buffer, line + 1);
635635
endChar = static_cast<lsp::uint>(text.size());
636636
}
637637

0 commit comments

Comments
 (0)