-------------------------------------------------------------------------
| 329 | |
| 330 | //------------------------------------------------------------------------- |
| 331 | OptionsParser::OptionsParser( |
| 332 | std::shared_ptr<Tools::WarningManager> warningManager, |
| 333 | std::vector<std::unique_ptr<IOptionParser>>&& optionParsers) |
| 334 | : programOptions_{std::make_unique<ProgramOptions>(optionParsers)}, |
| 335 | optionalWarningManager_{std::move(warningManager)} |
| 336 | { |
| 337 | optionParsers_ = std::move(optionParsers); |
| 338 | } |
| 339 | |
| 340 | //------------------------------------------------------------------------- |
| 341 | OptionsParser::OptionsParser() : OptionsParser({}, {}) |
nothing calls this directly
no outgoing calls
no test coverage detected