'getlabel' is a private member

Hey all,

I took a break from JUCEing for a while, and am now looking to bring a project I was working on in early 2017 to current JUCE standards.

When trying to compile I’m getting the following error:

‘getLabel’ is a private member of ‘juce::AudioProcessorParameterWithID’

However, poking around the documentation here it still says that getLabel is public-

What am I doing wrong? Here’s a small screenshot of my code:

AudioProcessorParameterWithID moves getLabel() into the private section of the class. However, AudioProcessorParameterWithID also has a public member variable const String label; which I assume has the same label as you would get with getLabel.

Ah okay, thanks! just changing ->getLabel() to ->label did the trick.