zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 2cdd01ce3a0fc7dbace5aeeae95671bd93325885
parent 914b9b18af61730e4a311dc13f2bd048ecef17ab
Author: Hans Petter Selasky <hps@selasky.org>
Date:   Thu,  2 Jan 2020 19:31:07 +0100

Place const keyword correctly.

Signed-off-by: Hans Petter Selasky <hps@selasky.org>

Diffstat:
Msrc/Synth/OscilGen.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Synth/OscilGen.cpp b/src/Synth/OscilGen.cpp @@ -1632,7 +1632,7 @@ FUNC(circle) base_func_t *getBaseFunction(unsigned char func) { - static const base_func_t *functions[] = { + static base_func_t * const functions[] = { basefunc_triangle, basefunc_pulse, basefunc_saw, @@ -1792,7 +1792,7 @@ FILTER(s) filter_func_t *getFilter(unsigned char func) { - static const filter_func_t *functions[] = { + static filter_func_t * const functions[] = { osc_lp, osc_hp1, osc_hp1b,