Let ProcessReturnCode be publicly constructible v2017.09.25.00
authorYedidya Feldblum <yfeldblum@fb.com>
Sun, 24 Sep 2017 06:12:57 +0000 (23:12 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 24 Sep 2017 06:19:41 +0000 (23:19 -0700)
commit4af3040b4c2192818a413bad35f7a6cc5846ed0b
tree65a9ef962b5a2eb07a63afcbdd22ceacab5e997d
parent91da2e5ab93302bbf728d2c71cd82fa143837321
Let ProcessReturnCode be publicly constructible

Summary:
[Folly] Let `ProcessReturnCode` be publicly constructible.

Via provided constructor functions, which limit how it may be constructed so that it is only constructible into a valid state.

Differential Revision: D5898739

fbshipit-source-id: 7490018adfc39408b4290248ef1220e8fd0238cb
folly/Subprocess.cpp
folly/Subprocess.h