Skip to content

Commit 6641ab3

Browse files
committed
clang-tidy
1 parent e61fae5 commit 6641ab3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/importproject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ bool ImportProject::importCppcheckGuiProject(std::istream &istr, Settings &setti
14871487
} else if (strcmp(name, CppcheckXml::UserIncludeElementName) == 0) {
14881488
const char* i = node->GetText();
14891489
if (i)
1490-
temp.userIncludes.push_back(i);
1490+
temp.userIncludes.emplace_back(i);
14911491
} else if (strcmp(name, CppcheckXml::ImportProjectElementName) == 0) {
14921492
const std::string t_str = empty_if_null(node->GetText());
14931493
if (!t_str.empty())

0 commit comments

Comments
 (0)