#include <lttng/rotate-internal.hpp>
#include <lttng/trigger/trigger.h>
+#include <fcntl.h>
#include <inttypes.h>
#include <memory>
#include <signal.h>
struct rotation_thread_job {
using uptr = std::unique_ptr<
rotation_thread_job,
- lttng::details::create_unique_class<rotation_thread_job, lttng::free>>;
+ lttng::memory::create_deleter_class<rotation_thread_job, lttng::free>::deleter>;
enum ls::rotation_thread_job_type type;
struct ltt_session *session;
ls::rotation_thread::rotation_thread(rotation_thread_timer_queue& rotation_timer_queue,
notification_thread_handle& notification_thread_handle) :
- _rotation_timer_queue{ rotation_timer_queue },
- _notification_thread_handle{ notification_thread_handle }
+ _rotation_timer_queue(rotation_timer_queue),
+ _notification_thread_handle(notification_thread_handle)
{
_quit_pipe.reset([]() {
auto raw_pipe = lttng_pipe_open(FD_CLOEXEC);