Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Nov 30, 2023
1 parent dfe484e commit d64276b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cpp/lp_namer/ProblemGenerationExeOptionsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ TEST_F(ProblemGenerationExeOptionsTest,

const char argv0[] = "lp.exe ";
const char argv1[] = "--archive";
auto argv2 = archive;
const auto& argv2 = archive;

std::vector<const char*> ppargv = {argv0, argv1, argv2.c_str()};
std::vector<const char*> ppargv{argv0, argv1, argv2.c_str()};
problem_generation_options_parser_.Parse(3, ppargv.data());

ProblemGenerationSpyAndMock pbg(problem_generation_options_parser_);
Expand Down

0 comments on commit d64276b

Please sign in to comment.