| 158 | } |
| 159 | |
| 160 | void common_preset::merge(const common_preset & other) { |
| 161 | for (const auto & [opt, val] : other.options) { |
| 162 | options[opt] = val; // overwrite existing options |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | void common_preset::apply_to_params(common_params & params) const { |
| 167 | for (const auto & [opt, val] : options) { |
no outgoing calls
no test coverage detected