Everything compiles ok, the program runs well, but when I want to find a path, something goes wrong and the program crashes down.
By printing data out to a log file, I figured out, that the line, causing the trouble is probably this line:
Code: Select all
extendedList.push_front(extended);
where path is nothing more than irr::core::list<something> with a few functions.
If anyone had a guess, what could cause the troubles here, I would appreciate it. Just tell me, if you need the code posted or something.
My guess was, that core::list<T> doesn't have any copy constructor, thus pushing it back to the extendedList and later on deleting the old object would cause a problem, but I already tried to create a copy constructor for my path class, which didn't help though.