Home » U++ Library support » U++ Core » Long time running program and Vector
|
|
Re: Long time running program and Vector [message #52619 is a reply to message #52618] |
Wed, 30 October 2019 11:16 |
|
Xemuth
Messages: 387 Registered: August 2018 Location: France
|
Senior Member |
|
|
cbpporter wrote on Wed, 30 October 2019 10:13Maybe you are storing pointers to the items in the vector?
thanks for your help Cbpporter, Sadly, I dont store any ptr in my vector however some function return ptr like A* getAFromName(String nameOfA);
but I always check for nullptr before doing any operation on myPtr. Also the programme crash only after few days of running.
[Updated on: Wed, 30 October 2019 11:17] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon May 06 04:52:54 CEST 2024
Total time taken to generate the page: 0.02086 seconds
|