I need to modify an object in a QVector. I'm the []
operator to point to the object, which is overloaded with a constant and a non-constant version. The problem I'm having is that I don't know how to specify the non-const version, so I get compile errors telling me that it couldn't convert a constant to a non-constant object.
James19142
-4
Newbie Poster
Recommended Answers
Jump to PostCan you post the code that is giving you the problem? It is hard to read your screen from here.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.