Skip to main content
Associate II
November 28, 2023
Question

redefinition of function

  • November 28, 2023
  • 1 reply
  • 1094 views

hello sir,

i am trying to build the ADC display using MVP pattern.
as we have to declare same function in view and presenter , but error is showing for redefiation.

video link following is :
https://www.youtube.com/watch?v=Y7d6-59YQu8&t=487s


error faced :
redefinition of 'void Screen1Presenter::setLight(bool)
redefinition of 'void Screen1View::setLight(bool)'

@Yoann KLEIN 

i am attaching the screenshot.

This topic has been closed for replies.

1 reply

Christian N
ST Employee
November 28, 2023

Hello Chaitanya1997,

Thank you for contacting STMicroelectronics. Your inquiry is being escalated for specialized support.

Kind Regards,

Christian

ST Support