Use = default to define trivial dtor/ctor
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user