Skip to content

Commit

Permalink
update 'setFlagsForCxx'
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch authored and christian-rauch committed Jul 24, 2023
1 parent b942076 commit 98e8a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/project_manager/ros_project.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ void ROSProject::buildCppCodeModel(const ROSUtils::WorkspaceInfo workspaceInfo,
}
}

rpp.setFlagsForCxx({cxxToolChain, targetInfo->flags, sysRoot.toString()});
rpp.setFlagsForCxx({cxxToolChain, targetInfo->flags, sysRoot});
rpp.setFiles(targetInfo->source_files);
rpp.setHeaderPaths(packageHeaderPaths);
rpps.append(rpp);
Expand Down

0 comments on commit 98e8a6a

Please sign in to comment.