Skip to content

Commit 02e34a1

Browse files
author
Your Name
committed
Add const
1 parent 071bed2 commit 02e34a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/tokenize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,7 @@ bool Tokenizer::simplifyTokens1(const std::string &configuration, int fileIndex)
35873587

35883588
//---------------------------------------------------------------------------
35893589

3590-
void Tokenizer::findComplicatedSyntaxErrorsInTemplates()
3590+
void Tokenizer::findComplicatedSyntaxErrorsInTemplates() const
35913591
{
35923592
validate();
35933593
mTemplateSimplifier->checkComplicatedSyntaxErrorsInTemplates();

lib/tokenize.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class CPPCHECKLIB Tokenizer {
327327

328328
void checkForEnumsWithTypedef();
329329

330-
void findComplicatedSyntaxErrorsInTemplates();
330+
void findComplicatedSyntaxErrorsInTemplates() const;
331331

332332
protected:
333333
/**

0 commit comments

Comments
 (0)