widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #06197
Re: [Merge] lp:~widelands-dev/widelands/network-memory into lp:widelands
I think it would be better to just always keep a vector around and just keep it empty. Dealign with new/delete for vectors is fragile, and the vector has its memory on the heap anyways, so keeping it around is basically free.
This is only a comment though, I have no time to properly dig into the code review till the weekend.
--
https://code.launchpad.net/~widelands-dev/widelands/network-memory/+merge/286162
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/network-memory into lp:widelands.
References