From 6f977248bf2542e496d1483c28b13e1ab6eb4aab Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 1 Dec 2019 01:28:28 +0200 Subject: [PATCH] Impl #1298 --- include/spdlog/sinks/dist_sink.h | 4 ++++ 1 file changed, 4 insertions(+) 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;