Also clears cppcheck warnings:
cppcheck++: warning virtualCallInConstructor - Virtual function 'onSampleRateChange' is called from constructor 'Cosmos()' at line 131. Dynamic binding is not used. cppcheck++: warning virtualCallInConstructor - Virtual function 'onSampleRateChange' is called from constructor 'SlewLFO()' at line 64. Dynamic binding is not used.
See here: https://community.vcvrack.com/t/rack-samplerate-not-returning-value-when-compile-in-windows/22923/16
Also clears cppcheck warnings:
cppcheck++: warning virtualCallInConstructor - Virtual function 'onSampleRateChange' is called from constructor 'Cosmos()' at line 131. Dynamic binding is not used.
cppcheck++: warning virtualCallInConstructor - Virtual function 'onSampleRateChange' is called from constructor 'SlewLFO()' at line 64. Dynamic binding is not used.