| shafh (32) | |||
|
Hi everyone. I have a problem, which seems simple, however have given me lot of problems. I have a vector of pointers to objects. I now want to push a new obect into the vector. I have don like this:
However when pushing i got this error: ConfluentPersistenceRevisited.cpp:335:31: error: no matching function for call to ‘std::vector<EdgeOverlayNode*>::pop_back(EdgeOverlayNode*&)’ Any can see what is wrong? And can any tell me how to fix it Thanks for helping | |||
|
Last edited on
|
|||
| Peter87 (3912) | |
| The function you want to use is probably push_back. | |
|
|
|
| shafh (32) | |
| Lol. Your right. Embarrassing problem. Wow thanks a lot... | |
|
|
|