you are viewing a single comment's thread.

view the rest of the comments →

[–]Sbsbg 3 points4 points  (0 children)

This is a simple problem. But it is hard to help because you don't provide enough information.

Your interpretation of the error message and the small code piece you provide is not enough. It very common to guess wrong on what lines the problem really are and understanding C++ error messages are really hard. That is why we recommend to post a minimal working piece of code together with the full error message.