cmdlineparser.cpp: fixed compilation (#4880)

This commit is contained in:
Oliver Stöneberg 2023-03-10 00:39:29 +01:00 committed by GitHub
parent f4b32d74c7
commit 8148095fe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
mSettings.addEnabled("portability"); mSettings.addEnabled("portability");
} }
if (enable_arg.find("information") != std::string::npos) { if (enable_arg.find("information") != std::string::npos) {
mSettings->addEnabled("missingInclude"); mSettings.addEnabled("missingInclude");
printMessage("'--enable=information' will no longer implicitly enable 'missingInclude' starting with 2.16. Please enable it explicitly if you require it."); printMessage("'--enable=information' will no longer implicitly enable 'missingInclude' starting with 2.16. Please enable it explicitly if you require it.");
} }
} }