Don't declare dodajElement as const. Then it works. const means that no member will be changed, but you change listElementow. That is the error. If you want your method const and alter a member then use the mutable keyword.
Don't declare dodajElement as const. Then it works. const means that no member will be changed, but you change listElementow. That is the error. If you want your method const and alter a member then use the mutable keyword.
bigkoma (20th August 2010)
Bookmarks