From c329887bfe76d13f285b1fa128edaed2eb5f49e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 20 Nov 2016 15:44:20 +0100 Subject: [PATCH] use const --- lib/tokenlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tokenlist.cpp b/lib/tokenlist.cpp index 045bbd9ca..615eaaa9e 100644 --- a/lib/tokenlist.cpp +++ b/lib/tokenlist.cpp @@ -977,7 +977,7 @@ static void compileExpression(Token *&tok, AST_state& state) compileComma(tok, state); } -static bool isLambdaCaptureList(Token * tok) +static bool isLambdaCaptureList(const Token * tok) { // a lambda expression '[x](y){}' is compiled as: // [