Browse Source

Adapted to upstream changes after rebase

merge-requests/413/head
doe300 2 years ago
parent
commit
771722904e
  1. 2
      src/coverage.cpp

2
src/coverage.cpp

@ -155,7 +155,7 @@ std::vector<Coverage::LineCoverage> Coverage::analyze(Project::Build &build, con
boost::filesystem::path object_file; boost::filesystem::path object_file;
for(const auto &command : commands.commands) { for(const auto &command : commands.commands) {
if(command.file == file_path) { if(command.file == file_path) {
auto values = command.parameter_values("-o"); auto values = command.get_argument_values("-o");
if(!values.empty()) { if(!values.empty()) {
object_file = command.directory / values.front(); object_file = command.directory / values.front();
break; break;

Loading…
Cancel
Save