aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/null.cpp
diff options
context:
space:
mode:
authorFilip Gawin <[email protected]>2019-01-09 19:57:35 +0100
committerFilip Gawin <[email protected]>2019-01-09 19:57:35 +0100
commitf7fe15e1cec05a4c9e6a6a207bdb34397086cffc (patch)
treea3dd40b59196464c12c9d8d585100c5226ffb3b2 /Alc/effects/null.cpp
parent6ddb2c36fc19f0bdcd46ff56536525325d4d3bc5 (diff)
Use `= default` to define trivial dtor/ctor
Diffstat (limited to 'Alc/effects/null.cpp')
-rw-r--r--Alc/effects/null.cpp8
1 files changed, 2 insertions, 6 deletions
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,