X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.hpp;h=77564a168696fd0d58516f50767c5937c815339b;hb=04938faeeb4b28c5791029a2542848534ac83b17;hp=02ff2b2fe1549baece8eb03563e5cf86fa39d658;hpb=0038180de36c422cfaeade1145fa9fbc9436b8ad;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/rotation-thread.hpp b/src/bin/lttng-sessiond/rotation-thread.hpp index 02ff2b2fe..77564a168 100644 --- a/src/bin/lttng-sessiond/rotation-thread.hpp +++ b/src/bin/lttng-sessiond/rotation-thread.hpp @@ -31,10 +31,7 @@ namespace lttng { namespace sessiond { -enum class rotation_thread_job_type { - SCHEDULED_ROTATION, - CHECK_PENDING_ROTATION -}; +enum class rotation_thread_job_type { SCHEDULED_ROTATION, CHECK_PENDING_ROTATION }; struct rotation_thread_timer_queue; @@ -43,7 +40,11 @@ public: using uptr = std::unique_ptr; rotation_thread(rotation_thread_timer_queue& rotation_timer_queue, - notification_thread_handle& notification_thread_handle); + notification_thread_handle& notification_thread_handle); + rotation_thread(const rotation_thread&) = delete; + rotation_thread(rotation_thread&&) = delete; + rotation_thread& operator=(const rotation_thread&) = delete; + rotation_thread& operator=(rotation_thread&&) = delete; ~rotation_thread(); /* Only use through the lttng_thread facilities. */