From bd2f152aa3bcdf40238c682f3f3351b28b54ca19 Mon Sep 17 00:00:00 2001 From: chuggafan Date: Thu, 26 Sep 2024 23:43:23 -0400 Subject: [PATCH] latest fix for compilation changes --- src/occparse/lex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/occparse/lex.cpp b/src/occparse/lex.cpp index 9826c887f..385e55515 100644 --- a/src/occparse/lex.cpp +++ b/src/occparse/lex.cpp @@ -2021,7 +2021,7 @@ LexList* getsym(void) int end = linePointer - (const unsigned char*)currentLine.c_str(); if (valid && tokenIterator != preProcessor->TokenPositions().end()) { - auto& p = *tokenIterator; + const auto& p = *tokenIterator; int oldend = end; if (start <= p.newStart) {