My code looks something like this:
Qt Code:
QSet<QString> mySet; mySet.insert(someString); ... qSort(&mySet);To copy to clipboard, switch view to plain text mode
But I'm getting this error:
'qSort' : cannot convert parameter 1 from 'QSet<T> *' to 'QSet<T> & ' with [T=QString] and [T=QString]
I think my logic/syntax is okay, so what is the problem?
Bookmarks