use const

This commit is contained in:
Daniel Marjamäki 2016-11-20 15:44:20 +01:00
parent c8ff96fe8f
commit c329887bfe
1 changed files with 1 additions and 1 deletions

View File

@ -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:
// [