Move create_unique_class util to the memory namespace
[lttng-tools.git] / src / bin / lttng-sessiond / rotation-thread.cpp
index 1f82176f8bd33464117ce3eb05f43c8a42b2ef51..10afaa649770139abd7d359fcb37c7114f79d0bf 100644 (file)
@@ -44,6 +44,7 @@
 #include <lttng/rotate-internal.hpp>
 #include <lttng/trigger/trigger.h>
 
+#include <fcntl.h>
 #include <inttypes.h>
 #include <memory>
 #include <signal.h>
@@ -69,7 +70,7 @@ namespace {
 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;
This page took 0.022834 seconds and 4 git commands to generate.