fix build (no more using ID)

This commit is contained in:
Felipe Lema 2021-08-16 18:31:03 -04:00
parent dc9ba782aa
commit b27b1a6d59

View File

@ -203,7 +203,7 @@ void MessageHandler::textDocument_semanticTokensRange(
// Make ranges non-overlapping using a scan line algorithm. // Make ranges non-overlapping using a scan line algorithm.
std::vector<ScanLineEvent> events; std::vector<ScanLineEvent> events;
ScanLineEvent::Id id = 0; int id = 0;
for (auto &entry : grouped_symbols) { for (auto &entry : grouped_symbols) {
CclsSemanticHighlightSymbol &symbol = entry.second; CclsSemanticHighlightSymbol &symbol = entry.second;
for (auto &loc : symbol.lsRangeAndRoles) { for (auto &loc : symbol.lsRangeAndRoles) {