aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/modulator.cpp
diff options
context:
space:
mode:
authorkcat <[email protected]>2019-01-09 17:16:28 -0800
committerGitHub <[email protected]>2019-01-09 17:16:28 -0800
commit30184613a53c9eb013fee10403aa9cd97d4ea5e1 (patch)
treea3dd40b59196464c12c9d8d585100c5226ffb3b2 /Alc/effects/modulator.cpp
parent8f35f464a1b3ae1b8772a4645941a1fb2fec006e (diff)
parentf7fe15e1cec05a4c9e6a6a207bdb34397086cffc (diff)
Merge pull request #264 from ShFil119/impr/cleanup
Cleanup continuation
Diffstat (limited to 'Alc/effects/modulator.cpp')
-rw-r--r--Alc/effects/modulator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/effects/modulator.cpp b/Alc/effects/modulator.cpp
index 9549740e..d9a3046e 100644
--- a/Alc/effects/modulator.cpp
+++ b/Alc/effects/modulator.cpp
@@ -20,8 +20,8 @@
#include "config.h"
-#include <math.h>
-#include <stdlib.h>
+#include <cmath>
+#include <cstdlib>
#include <cmath>
#include <algorithm>
@@ -177,7 +177,7 @@ struct ModulatorStateFactory final : public EffectStateFactory {
EffectState *ModulatorStateFactory::create()
{ return new ALmodulatorState{}; }
-EffectStateFactory *ModulatorStateFactory_getFactory(void)
+EffectStateFactory *ModulatorStateFactory_getFactory()
{
static ModulatorStateFactory ModulatorFactory{};
return &ModulatorFactory;