widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #04416
Re: [Merge] lp:~widelands-dev/widelands/bug1438611 into lp:widelands
I think that is an improvement. A better fix would be to change the m_animations vector to contain unique_ptr<> instead of raw pointers. The destructor would then not be needed.
If you do not want to do that, could you add a TODO next to m_animations in the .h file?
--
https://code.launchpad.net/~widelands-dev/widelands/bug1438611/+merge/273449
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug1438611.
References