widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #10390
Re: [Merge] lp:~widelands-dev/widelands/net-boost-asio into lp:widelands
Basically, that loop will give you the elements in the container, so you can do all the stuff with them that you would do if it was a simple variable.
I wasn't aware that close() will remove an element from the container. Best stay with the iterator after all then - adding a second loop + container would make the code unnecessarily complicated.
--
https://code.launchpad.net/~widelands-dev/widelands/net-boost-asio/+merge/324364
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/net-boost-asio.
References