Skip to content

Commit 8c2c4a7

Browse files
committed
Add empty config in testpreprocessor
1 parent 1acae0f commit 8c2c4a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testpreprocessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ class TestPreprocessor : public TestFixture {
370370
simplecpp::TokenList tokens(code,files);
371371
tokens.removeComments();
372372
Preprocessor preprocessor(settings, *this, Standards::Language::C); // TODO: do we need to consider #file?
373-
std::list<std::string> configs;
373+
std::list<std::string> configs = { "" };
374374
{
375375
std::set<std::string> configDefines = { "__cplusplus" };
376376
preprocessor.getConfigs("", tokens, configDefines, configs);

0 commit comments

Comments
 (0)