I have a problem with a certain part of code I'm currently working on.
I have a vector sorting a set of HObjects (self defined class).
I want to create a pointer to a HObject being popped from the vector.
However, (***) is giving me this error:Code:vector<HObjects> set; fillvector(set); HObject *new; new = set.pop_back(); //***
"void value not ignored as it ought to be"
Is there something wrong with the way I'm doing this?