Re: [webkit-dev] Does someone know how to fix WTF::Function on Windows

2017-07-15 Thread Darin Adler
Right, that’s what I am looking to undo. — Darin Sent from my iPhone > On Jul 15, 2017, at 12:28 PM, Chris Dumez wrote: > > I seem to remember I fixed it last time by calling the WTF::Function > constructor explicitly. > > Chris Dumez > >> On Jul 15, 2017, at 9:14 AM,

Re: [webkit-dev] Does someone know how to fix WTF::Function on Windows

2017-07-15 Thread Chris Dumez
I seem to remember I fixed it last time by calling the WTF::Function constructor explicitly. Chris Dumez > On Jul 15, 2017, at 9:14 AM, Yusuke SUZUKI wrote: > > I'm not 100% confident, but can you try it `` instead? > > Regards, > Yusuke Suzuki > >> On Sun, Jul 16,

Re: [webkit-dev] Does someone know how to fix WTF::Function on Windows

2017-07-15 Thread Yusuke SUZUKI
I'm not 100% confident, but can you try it `` instead? Regards, Yusuke Suzuki On Sun, Jul 16, 2017 at 1:13 AM, Darin Adler wrote: > Hi folks. > > On Windows, WTF::Function doesn’t quite work right. Code that is something > like this: > > void

[webkit-dev] Does someone know how to fix WTF::Function on Windows

2017-07-15 Thread Darin Adler
Hi folks. On Windows, WTF::Function doesn’t quite work right. Code that is something like this: void addCallback(WTF::Function&&); void testFunction() { // ... } void addTestFunction() { addCallback(testFunction); } Leads to errors like