aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/distortion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/distortion.cpp')
-rw-r--r--Alc/effects/distortion.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/effects/distortion.cpp b/Alc/effects/distortion.cpp
index 1b9c66fa..12eb12fb 100644
--- a/Alc/effects/distortion.cpp
+++ b/Alc/effects/distortion.cpp
@@ -20,8 +20,8 @@
#include "config.h"
-#include <math.h>
-#include <stdlib.h>
+#include <cmath>
+#include <cstdlib>
#include <cmath>
@@ -169,7 +169,7 @@ struct DistortionStateFactory final : public EffectStateFactory {
EffectState *DistortionStateFactory::create()
{ return new ALdistortionState{}; }
-EffectStateFactory *DistortionStateFactory_getFactory(void)
+EffectStateFactory *DistortionStateFactory_getFactory()
{
static DistortionStateFactory DistortionFactory{};
return &DistortionFactory;