In SemiFuture members, fix DCHECK of pointer types
authorYedidya Feldblum <yfeldblum@fb.com>
Thu, 9 Nov 2017 02:55:00 +0000 (18:55 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 9 Nov 2017 03:09:15 +0000 (19:09 -0800)
commit3066914f085865bc104192f3431315be6ea9012a
tree4acc6e0cc0ff15df4e83101e3de888c69a7d33bc
parent72d6102e41ad80baa66a2b0f9166be3e8066880b
In SemiFuture members, fix DCHECK of pointer types

Summary:
[Folly] In `SemiFuture` members, fix `DCHECK` of pointer types.

Use `nullptr !=` to avoid ` error: ISO C++ forbids comparison between pointer and integer`.

Closes #708.

Reviewed By: Orvid

Differential Revision: D6277832

fbshipit-source-id: 8f65065d5347c6ac407b99cb780c38935e901362
folly/futures/Future-inl.h