diff --git a/include/spdlog/sinks/dist_sink.h b/include/spdlog/sinks/dist_sink.h index 1265cc7e..01a99082 100644 --- a/include/spdlog/sinks/dist_sink.h +++ b/include/spdlog/sinks/dist_sink.h @@ -31,7 +31,7 @@ public: dist_sink &operator=(const dist_sink &) = delete; protected: - std::vector> _sinks; + vector> _sinks; void _sink_it(const details::log_msg &msg) override { @@ -51,13 +51,13 @@ protected: } public: - void add_sink(std::shared_ptr sink) + void add_sink(shared_ptr sink) { std::lock_guard lock(base_sink::_mutex); _sinks.push_back(sink); } - void remove_sink(std::shared_ptr sink) + void remove_sink(shared_ptr sink) { std::lock_guard lock(base_sink::_mutex); _sinks.erase(std::remove(_sinks.begin(), _sinks.end(), sink), _sinks.end());