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>
This commit is contained in:
parent
d716200d2b
commit
314ecb5400
1 changed files with 0 additions and 8 deletions
|
@ -23,10 +23,6 @@ namespace libcamera {
|
||||||
class LIBCAMERA_TSA_CAPABILITY("mutex") Mutex final
|
class LIBCAMERA_TSA_CAPABILITY("mutex") Mutex final
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
constexpr Mutex()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void lock() LIBCAMERA_TSA_ACQUIRE()
|
void lock() LIBCAMERA_TSA_ACQUIRE()
|
||||||
{
|
{
|
||||||
mutex_.lock();
|
mutex_.lock();
|
||||||
|
@ -84,10 +80,6 @@ private:
|
||||||
class ConditionVariable final
|
class ConditionVariable final
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ConditionVariable()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void notify_one() noexcept
|
void notify_one() noexcept
|
||||||
{
|
{
|
||||||
cv_.notify_one();
|
cv_.notify_one();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue