MidiFile::writeTo(): Y U no const?


#1

Is there a reason it isn’t const? I am using it in a const method that accesses it as class member and it won’t compile because of JUCE violating its own code standard :slight_smile:

“if you can make it const, make it const.”

It calls writeTrack() internally, but this is also not changing anything.


#2

Sure, I’ll add that.