diff --git a/app/common/rational.h b/app/common/rational.h index 15a8d0825..7bd5408b8 100644 --- a/app/common/rational.h +++ b/app/common/rational.h @@ -51,10 +51,7 @@ public: numer = intType(0); } - rational(const rational &rhs) - :numer(rhs.numer), denom(rhs.denom) - { - } + rational(const rational &rhs) = default; rational(const AVRational& r); diff --git a/app/common/threadedobject.cpp b/app/common/threadedobject.cpp index a80ff44fc..a180cfeba 100644 --- a/app/common/threadedobject.cpp +++ b/app/common/threadedobject.cpp @@ -1,9 +1,5 @@ #include "threadedobject.h" -ThreadedObject::ThreadedObject() -{ -} - void ThreadedObject::LockDeletes() { threadobj_delete_lock_++; diff --git a/app/common/threadedobject.h b/app/common/threadedobject.h index 709c146e5..d69577345 100644 --- a/app/common/threadedobject.h +++ b/app/common/threadedobject.h @@ -6,7 +6,6 @@ class ThreadedObject { public: - ThreadedObject(); void LockMutex(); void UnlockMutex(); diff --git a/app/common/timerange.cpp b/app/common/timerange.cpp index e4ec160a1..6188c85eb 100644 --- a/app/common/timerange.cpp +++ b/app/common/timerange.cpp @@ -1,9 +1,5 @@ #include "timerange.h" -TimeRange::TimeRange() -{ -} - TimeRange::TimeRange(const rational &in, const rational &out) : in_(in), out_(out) diff --git a/app/common/timerange.h b/app/common/timerange.h index 1ff31992b..ae32be165 100644 --- a/app/common/timerange.h +++ b/app/common/timerange.h @@ -5,7 +5,7 @@ class TimeRange { public: - TimeRange(); + TimeRange() = default; TimeRange(const rational& in, const rational& out); const rational& in() const;