| 1021 | } |
| 1022 | |
| 1023 | App *needs(Option *opt) { |
| 1024 | if(opt == nullptr) { |
| 1025 | throw OptionNotFound("nullptr passed"); |
| 1026 | } |
| 1027 | need_options_.insert(opt); |
| 1028 | return this; |
| 1029 | } |
| 1030 | |
| 1031 | App *needs(App *app) { |
| 1032 | if(app == nullptr) { |
nothing calls this directly
no test coverage detected