remove closure from assert
authorNathan Bronson <ngbronson@fb.com>
Fri, 19 Jan 2018 20:41:05 +0000 (12:41 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 19 Jan 2018 20:50:16 +0000 (12:50 -0800)
commite3d4b1ba20bcc2393eb3fb0fbc4bae9d68968093
tree41911a5dea7f8b9f836b78a634f9fb68bdd359d1
parent729928e79412a160f8192e27d25dfe8f30d6984f
remove closure from assert

Summary:
Somebody reported compilation issues with the closure in post()'s
assert, resulting in "error: lambda-expression in unevaluated context".
While I haven't been able to reproduce the problem locally, it is easy
enough to work around in this case.

Reviewed By: djwatson, mcallahan

Differential Revision: D6759739

fbshipit-source-id: 9f8082a1e20cd9ddf626cb176542e4e861a7e702
folly/synchronization/Baton.h