Make the constant static const

This commit is contained in:
Jean Pierre Cimalando 2020-05-21 13:59:31 +02:00
parent 1bab3e5d5f
commit da9f419923

View file

@ -38,7 +38,7 @@
namespace Tunings 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 * A Tone is a single entry in an SCL file. It is expressed either in cents or in