IRC logs for #openttd.dev on OFTC at 2014-01-24
            
00:22:39 *** adf88 has quit IRC
00:54:18 *** TheZonta has left #openttd.dev
07:13:41 *** Supercheese has quit IRC
09:50:01 *** adf88 has joined #openttd.dev
09:50:01 *** ChanServ sets mode: +v adf88
11:59:46 *** adf89 has joined #openttd.dev
12:01:34 *** adf88 has quit IRC
12:10:07 *** adf89 has quit IRC
13:22:21 *** adf88 has joined #openttd.dev
13:22:21 *** ChanServ sets mode: +v adf88
17:55:57 *** frosch123 has joined #openttd.dev
17:55:57 *** ChanServ sets mode: +v frosch123
19:20:55 *** Supercheese has joined #openttd.dev
19:20:55 *** ChanServ sets mode: +v Supercheese
20:53:56 <fonsinchen> https://github.com/ulfhermann/openttd/commit/5aa64f123d93d470a5dcad48fdf1d81294c35698 for FS#5874?
21:02:53 <frosch123> splice instead of pop and push?
21:03:46 <frosch123> schedule.splice(schedule.end(), schedule, schedule.begin())
21:05:01 <frosch123> fails if the schedule has only one element though
21:05:26 <frosch123> so would need some if for that
21:06:01 <frosch123> hmm, maybe it even works, technically there is no overlapping
21:08:11 <fonsinchen> How would splice do what I'm trying to achieve there?
21:08:24 <frosch123> you are moving the first element to the end, right?
21:08:47 <frosch123> push/pop would delete and new a list element, splice does not
21:08:57 <fonsinchen> Ah
21:34:29 <fonsinchen> splice doesn't invalidate any iterators
21:34:57 <fonsinchen> Thus it should work with only one element.
21:35:59 <fonsinchen> https://github.com/ulfhermann/openttd/commit/f22bc23a6d2a8b7646ee34bb97bd7c1a6b3a8510 then
21:36:46 <frosch123> looks fine to me
21:39:08 *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26276 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
21:48:02 *** frosch123 has quit IRC