No matching member function for call to 'add'

Anyone know why I’d be getting this error? Just using unaltered 7.0.3 Juce core libraries, juce_StringArray is throwing this at me.

Screen Shot 2023-01-03 at 12.04.43 pm

Does your compiler give you a stack trace of the calling code which is through this issue?

Ok thanks I think that tip. It was different object masquerading as a string. I guess that’s the downside of having a lot of autos creeping into code nowadays.

Using auto has caused me to hit this same type of issue several times. Especially hard to see the problem when it’s using a template.