Accecpt iterators by value in logger ctor insted of ref

This commit is contained in:
gabime
2018-10-04 02:06:39 +03:00
parent 10000c383a
commit 102c31a04c
4 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ class async_logger final : public std::enable_shared_from_this<async_logger>, pu
public:
template<typename It>
async_logger(std::string logger_name, const It &begin, const It &end, std::weak_ptr<details::thread_pool> tp,
async_logger(std::string logger_name, It begin, It end, std::weak_ptr<details::thread_pool> tp,
async_overflow_policy overflow_policy = async_overflow_policy::block);
async_logger(std::string logger_name, sinks_init_list sinks_list, std::weak_ptr<details::thread_pool> tp,