Actually allow SFINAE to occur with setThreadName
authorChristopher Dykes <cdykes@fb.com>
Wed, 25 Jan 2017 00:15:19 +0000 (16:15 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 25 Jan 2017 00:17:54 +0000 (16:17 -0800)
commiteb8b2d91a88a063d6b783c54fc3447b2046a974b
treea6a705b71776dbe526a1c45df989998807b703ab
parentb197496065db412c52af324088b41efab45377d6
Actually allow SFINAE to occur with setThreadName

Summary:
It wasn't actually SFINAE the way it was setup previously, which meant it was just a hard error under MSVC.
Whoops.

Reviewed By: yfeldblum

Differential Revision: D4453702

fbshipit-source-id: 5be600fb5ecdc8255795fefbd37c1fe26e7266dd
folly/ThreadName.h