sessiond: open_packets: use user_space_consumer_channel_keys util
[lttng-tools.git] / src / common / pthread-lock.hpp
index b34b45935861ce3f131304d7b908a0eea734bd5e..5a57b97152c823829fb8d295d1ebf128429c78c3 100644 (file)
@@ -10,8 +10,8 @@
 
 #include <common/exception.hpp>
 
-#include <pthread.h>
 #include <mutex>
+#include <pthread.h>
 
 namespace lttng {
 namespace pthread {
@@ -33,9 +33,9 @@ public:
        ~mutex() = default;
 
        /* "Not copyable" and "not moveable" Mutex requirements. */
-       mutex(mutex const&) = delete;
+       mutex(const mutex&) = delete;
        mutex(mutex&&) = delete;
-       mutex& operator=(mutex const&) = delete;
+       mutex& operator=(const mutex&) = delete;
        mutex& operator=(mutex&&) = delete;
 
        void lock()
This page took 0.023699 seconds and 4 git commands to generate.