From acf08b91594bbbcd0649a55ff377f242459f1a07 Mon Sep 17 00:00:00 2001 From: Marcus Müller <mmueller@gnuradio.org> Date: Sat, 19 Dec 2020 14:46:52 +0100 Subject: C++14: Use std::make_unique instead of boost::make_unique MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, clean up includes Signed-off-by: Marcus Müller <mmueller@gnuradio.org> --- gnuradio-runtime/lib/logger.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnuradio-runtime/lib/logger.cc') diff --git a/gnuradio-runtime/lib/logger.cc b/gnuradio-runtime/lib/logger.cc index f282ca9276..4dbab39aa0 100644 --- a/gnuradio-runtime/lib/logger.cc +++ b/gnuradio-runtime/lib/logger.cc @@ -20,8 +20,8 @@ #include <gnuradio/logger.h> #include <gnuradio/prefs.h> -#include <boost/make_unique.hpp> #include <algorithm> +#include <memory> #include <stdexcept> namespace gr { @@ -96,7 +96,7 @@ void logger_config::load_config(std::string filename, unsigned int watch_period) logger_configured = logger_load_config(instance.filename); // Start watch if required if (instance.watch_period > 0) { - instance.watch_thread = boost::make_unique<boost::thread>( + instance.watch_thread = std::make_unique<boost::thread>( watch_file, instance.filename, instance.watch_period); } } -- cgit v1.2.3