diff options
Diffstat (limited to 'Alc/effects/autowah.cpp')
-rw-r--r-- | Alc/effects/autowah.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/effects/autowah.cpp b/Alc/effects/autowah.cpp index 7df5d49e..f7d07fe2 100644 --- a/Alc/effects/autowah.cpp +++ b/Alc/effects/autowah.cpp @@ -20,8 +20,8 @@ #include "config.h" -#include <math.h> -#include <stdlib.h> +#include <cmath> +#include <cstdlib> #include <algorithm> @@ -203,7 +203,7 @@ struct AutowahStateFactory final : public EffectStateFactory { EffectState *AutowahStateFactory::create() { return new ALautowahState{}; } -EffectStateFactory *AutowahStateFactory_getFactory(void) +EffectStateFactory *AutowahStateFactory_getFactory() { static AutowahStateFactory AutowahFactory{}; return &AutowahFactory; |