Clean-up: modernize pretty_xml.cpp
[lttng-tools.git] / src / bin / lttng-sessiond / rotation-thread.hpp
index daf5b5f3e97c733aad048996b488313bf1472ee1..5e9b9d75e07c6741216d75578753133cfcc127bb 100644 (file)
@@ -41,6 +41,10 @@ public:
 
        rotation_thread(rotation_thread_timer_queue& rotation_timer_queue,
                        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. */
@@ -77,7 +81,7 @@ private:
        lttng_poll_event _events;
 };
 
-struct rotation_thread_timer_queue *rotation_thread_timer_queue_create(void);
+struct rotation_thread_timer_queue *rotation_thread_timer_queue_create();
 void rotation_thread_timer_queue_destroy(struct rotation_thread_timer_queue *queue);
 void rotation_thread_enqueue_job(struct rotation_thread_timer_queue *queue,
                                 enum rotation_thread_job_type job_type,
This page took 0.023832 seconds and 4 git commands to generate.