Function definition 'sliderValueChanged' not found

Hello, I am trying to add a functional slider that changes the gain.

when I try to override this function void sliderValueChanged(juce::Slider slider) override;* , it gives me an error. function definition ‘sliderValueChanged’ not found.


Apologies. I figured it out. Just had to create the function. Quite new to C++ still