From d68431b12d1422b24d2c1078bd1eec2af7120dbf Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 10 Apr 2024 13:46:40 +0200 Subject: [PATCH] helpers.h: fixed `duplInheritedMember` selfcheck warnings --- test/helpers.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/helpers.h b/test/helpers.h index c6a202f7e34..eb37021c1bb 100644 --- a/test/helpers.h +++ b/test/helpers.h @@ -56,13 +56,15 @@ class SimpleTokenizer : public Tokenizer { : Tokenizer{settings, &errorlogger, preprocessor} {} - Token* tokens() { + /* + Token* tokens() { return Tokenizer::tokens(); - } + } - const Token* tokens() const { + const Token* tokens() const { return Tokenizer::tokens(); - } + } + */ /** * Tokenize code