diff --git a/include/spdlog/sinks/dist_sink.h b/include/spdlog/sinks/dist_sink.h index a6a33370..ae98fee4 100644 --- a/include/spdlog/sinks/dist_sink.h +++ b/include/spdlog/sinks/dist_sink.h @@ -24,6 +24,10 @@ class dist_sink : public base_sink { public: dist_sink() = default; + explicit dist_sink(std::vector> sinks) + : sinks_(sinks) + {} + dist_sink(const dist_sink &) = delete; dist_sink &operator=(const dist_sink &) = delete;