From da9f419923e21e3a768311550000daf95f9e63f6 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Thu, 21 May 2020 13:59:31 +0200 Subject: [PATCH] Make the constant static const --- src/external/tunings/include/Tunings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/tunings/include/Tunings.h b/src/external/tunings/include/Tunings.h index dfd39dfa..3f823dad 100644 --- a/src/external/tunings/include/Tunings.h +++ b/src/external/tunings/include/Tunings.h @@ -38,7 +38,7 @@ namespace Tunings { - const double MIDI_0_FREQ=8.17579891564371; // or 440.0 * pow( 2.0, - (69.0/12.0 ) ) + static constexpr double MIDI_0_FREQ = 8.17579891564371; // or 440.0 * pow( 2.0, - (69.0/12.0 ) ) /** * A Tone is a single entry in an SCL file. It is expressed either in cents or in