| 24 | #include "arch/arch.h" |
| 25 | |
| 26 | std::unique_ptr<Encoder> Arch::createEncoder(Config& config) |
| 27 | { |
| 28 | if (!config.hasEncoder()) |
| 29 | error("no encoder configured"); |
| 30 | return createEncoder(config->encoder()); |
| 31 | } |
| 32 | |
| 33 | std::unique_ptr<Encoder> Arch::createEncoder(const EncoderProto& config) |
| 34 | { |
nothing calls this directly
no test coverage detected