diff options
-rw-r--r-- | Alc/backends/base.cpp | 3 | ||||
-rw-r--r-- | Alc/effects/null.cpp | 8 |
2 files changed, 3 insertions, 8 deletions
diff --git a/Alc/backends/base.cpp b/Alc/backends/base.cpp index 39aa2c45..ba5e5486 100644 --- a/Alc/backends/base.cpp +++ b/Alc/backends/base.cpp @@ -24,8 +24,7 @@ ClockLatency GetClockLatency(ALCdevice *device) BackendBase::BackendBase(ALCdevice *device) noexcept : mDevice{device} { } -BackendBase::~BackendBase() -{ } +BackendBase::~BackendBase() = default; ALCboolean BackendBase::reset() { return ALC_FALSE; } diff --git a/Alc/effects/null.cpp b/Alc/effects/null.cpp index 7401fa6d..96cb3114 100644 --- a/Alc/effects/null.cpp +++ b/Alc/effects/null.cpp @@ -25,16 +25,12 @@ struct ALnullState final : public EffectState { /* This constructs the effect state. It's called when the object is first * created. */ -ALnullState::ALnullState() -{ -} +ALnullState::ALnullState() = default; /* This destructs the effect state. It's called only when the effect slot is no * longer used prior to being freed. */ -ALnullState::~ALnullState() -{ -} +ALnullState::~ALnullState() = default; /* This updates the device-dependant effect state. This is called on * initialization and any time the device parameters (eg. playback frequency, |