From 314ecb54002d5d6727f1f71e6bf1f13831607ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Tue, 11 Feb 2025 15:29:43 +0100 Subject: libcamera: base: mutex: Remove unnecessary constructors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The compiler defined default constructor works perfectly fine. Signed-off-by: Barnabás Pőcze Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- include/libcamera/base/mutex.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/libcamera/base/mutex.h b/include/libcamera/base/mutex.h index fa9a8d0d..20ebe6fe 100644 --- a/include/libcamera/base/mutex.h +++ b/include/libcamera/base/mutex.h @@ -23,10 +23,6 @@ namespace libcamera { class LIBCAMERA_TSA_CAPABILITY("mutex") Mutex final { public: - constexpr Mutex() - { - } - void lock() LIBCAMERA_TSA_ACQUIRE() { mutex_.lock(); @@ -84,10 +80,6 @@ private: class ConditionVariable final { public: - ConditionVariable() - { - } - void notify_one() noexcept { cv_.notify_one(); -- cgit v1.2.1