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

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.

Sure, I’ll add that.