diff options
author | Barnabás Pőcze <barnabas.pocze@ideasonboard.com> | 2025-02-11 15:29:43 +0100 |
---|---|---|
committer | Barnabás Pőcze <barnabas.pocze@ideasonboard.com> | 2025-03-21 15:56:27 +0100 |
commit | 314ecb54002d5d6727f1f71e6bf1f13831607ee9 (patch) | |
tree | 400655f79a62372c287638e5f2ccd292fceef1f5 /include | |
parent | d716200d2b81aa884cf395ec742c6df06675306b (diff) |
libcamera: base: mutex: Remove unnecessary constructors
The compiler defined default constructor works perfectly fine.
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/base/mutex.h | 8 |
1 files changed, 0 insertions, 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(); |