Skip to content

Commit d4503c7

Browse files
committed
Use {} for empty DUI
1 parent 09d8040 commit d4503c7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/testpreprocessor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,7 @@ class TestPreprocessor : public TestFixture {
399399
ASSERT(settings.library.load("", library, false).errorcode == Library::ErrorCode::OK);
400400
std::vector<std::string> files;
401401
simplecpp::OutputList outputList;
402-
simplecpp::DUI dui;
403-
simplecpp::TokenList tokens(code,files,"test.c",dui,&outputList);
402+
simplecpp::TokenList tokens(code, files, "test.c", {}, &outputList);
404403
Preprocessor preprocessor(tokens, settings, *this, Standards::Language::C);
405404
std::set<std::string> configs = { "" };
406405
std::set<std::string> configDefines = { "__cplusplus" };

0 commit comments

Comments
 (0)