From 790691737e1de706c1a62806872efb51b6494035 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 c6a202f7e342..4f14e890280f 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