Clean-up: rotation-thread: disable move and copy
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 20 Apr 2023 15:47:22 +0000 (11:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Apr 2023 17:55:24 +0000 (13:55 -0400)
Disable unused move and copy constructors and assignment operators, as
reported by clang-tidy.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I610e60dd082bc7c552a6f304ea44e9970487e558

src/bin/lttng-sessiond/rotation-thread.hpp

index daf5b5f3e97c733aad048996b488313bf1472ee1..77564a168696fd0d58516f50767c5937c815339b 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. */
This page took 0.024919 seconds and 4 git commands to generate.