From b27b1a6d5916ec37d2e6661ef1190998f55200b9 Mon Sep 17 00:00:00 2001 From: Felipe Lema <1232306+FelipeLema@users.noreply.github.com> Date: Mon, 16 Aug 2021 18:31:03 -0400 Subject: [PATCH] fix build (no more `using ID`) --- src/messages/textDocument_semanticToken.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages/textDocument_semanticToken.cc b/src/messages/textDocument_semanticToken.cc index 6531fe91..4d67a1f6 100644 --- a/src/messages/textDocument_semanticToken.cc +++ b/src/messages/textDocument_semanticToken.cc @@ -203,7 +203,7 @@ void MessageHandler::textDocument_semanticTokensRange( // Make ranges non-overlapping using a scan line algorithm. std::vector events; - ScanLineEvent::Id id = 0; + int id = 0; for (auto &entry : grouped_symbols) { CclsSemanticHighlightSymbol &symbol = entry.second; for (auto &loc : symbol.lsRangeAndRoles) {