2
0
mirror of https://github.com/boostorg/log.git synced 2026-02-18 02:02:14 +00:00

Changed all references to empty_deleter to null_deleter in Boost.Core.

This commit is contained in:
Andrey Semashev
2014-06-03 23:09:21 +04:00
parent c9751af6eb
commit 166616c796
12 changed files with 25 additions and 25 deletions

View File

@@ -30,7 +30,7 @@
#include <boost/limits.hpp>
#include <boost/cstdint.hpp>
#include <boost/smart_ptr/make_shared_object.hpp>
#include <boost/utility/empty_deleter.hpp>
#include <boost/core/null_deleter.hpp>
#include <boost/optional/optional.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/date_time/date_defs.hpp>
@@ -309,7 +309,7 @@ private:
typedef boost::log::aux::char_constants< BackendCharT > constants;
typedef sinks::basic_text_ostream_backend< BackendCharT > backend_t;
shared_ptr< backend_t > backend = boost::make_shared< backend_t >();
backend->add_stream(shared_ptr< typename backend_t::stream_type >(&constants::get_console_log_stream(), boost::empty_deleter()));
backend->add_stream(shared_ptr< typename backend_t::stream_type >(&constants::get_console_log_stream(), boost::null_deleter()));
// Auto flush
if (optional< string_type > auto_flush_param = params["AutoFlush"])