Cleanup base/MQ.

This commit is contained in:
Alexey Rybalchenko
2017-09-01 10:00:05 +02:00
committed by Mohammad Al-Turany
parent 334b91785b
commit 70e46a0b86
16 changed files with 81 additions and 38 deletions

View File

@@ -15,10 +15,10 @@
#if BOOST_VERSION < 105600
#include "fairroot_null_deleter.h"
typedef fairroot::null_deleter empty_deleter_t;
using empty_deleter_t = fairroot::null_deleter;
#else
#include <boost/core/null_deleter.hpp>
typedef boost::null_deleter empty_deleter_t;
using empty_deleter_t = boost::null_deleter;
#endif
#include <boost/make_shared.hpp>
@@ -79,7 +79,7 @@ void reinit_logger(bool color, const std::string& filename, custom_severity_leve
void DefaultConsoleInit(bool color/* = true*/)
{
// add a text sink
typedef sinks::synchronous_sink<sinks::text_ostream_backend> text_sink;
using text_sink = sinks::synchronous_sink<sinks::text_ostream_backend>;
RemoveRegisteredSinks();