On Mon, 3 Dec 2018, at 04:55, D. Michael McIntyre wrote: > On 12/02/2018 05:37 PM, David Faure wrote: > > > where sharpflat is a std::string, and tonality is an int. > > This code looks very suspicious indeed. Was it means to convert the int to > > a std::string? > > Ancient code written by one of the original founders, so it's anybody's > guess what was meant here.
Exactly what David suspects, I think - the author (not me, though I was the last person to touch this code) probably intended to convert the int to a string. This is in debug code that I don't think is ever used and was presumably never tested at all. Chris _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel