test/helpers:h: fixed initialization order in `givenACodeSampleToTokenize` (#5849)

This commit is contained in:
Oliver Stöneberg 2024-01-06 18:36:34 +01:00 committed by GitHub
parent 71212c7d66
commit e3b3048d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)