Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
There in the log it is written after the red circle that you are trying to pull non-const methods in the const method that can change the internal state of the object. Those. all getters must be const.
Hint: think, if it didn’t work out, open Google, copy the description of the error, read on stackoverflow how to solve a similar problem, solve it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question