From 55e214aecbd23d6a0d711975cfc990f27387af03 Mon Sep 17 00:00:00 2001 From: firewave Date: Sat, 6 Jan 2024 11:26:57 +0100 Subject: [PATCH] test/helpers:h: fixed initialization order in `givenACodeSampleToTokenize` --- test/helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers.h b/test/helpers.h index ae4c49b1a50..d1e7022b377 100644 --- a/test/helpers.h +++ b/test/helpers.h @@ -37,8 +37,8 @@ namespace simplecpp { class givenACodeSampleToTokenize { private: - Tokenizer tokenizer; const Settings settings; + Tokenizer tokenizer; public: explicit givenACodeSampleToTokenize(const char sample[], bool createOnly = false, bool cpp = true)