Skip to content

Commit

Permalink
Fixed empty parameters on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianReimold committed Nov 12, 2020
1 parent 182c295 commit 86479c0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ecal/core/src/ecal_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -967,10 +967,7 @@ namespace eCAL
std::string arg;
while (std::getline(cmdline_file, arg, '\0')) // the cmdline contains arguments separated by \0
{
if (!arg.empty())
{
argument_vector.emplace_back(arg);
}
argument_vector.emplace_back(arg);
}
}

Expand Down

0 comments on commit 86479c0

Please sign in to comment.