add a default Subprocess constructor
authorAdam Simpkins <simpkins@fb.com>
Thu, 26 May 2016 19:50:38 +0000 (12:50 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Thu, 26 May 2016 19:53:24 +0000 (12:53 -0700)
commitc59d30324f8901974800d70df3fba4d09d17ec1e
tree9c2e7c4288f9f7f905c1f4190ac7efb8ba4861cb
parentf2423568ba9c5da9553a7acfdf66d1d700e207b0
add a default Subprocess constructor

Summary:
The default constructor creates the Subprocess in an uninitialized state.  This
makes it possible to default-construct a Subprocess, but only initialize it
later using the move assignment operator.

Even before this diff, it was possible to have Subprocess objects in
uninitialized states after using the move assignment operator to move the data
out of a Subprocess object.

Reviewed By: yfeldblum

Differential Revision: D3348490

fbshipit-source-id: aa6acef9be770de8f0ee118da294cb134f04a466
folly/Subprocess.cpp
folly/Subprocess.h
folly/test/SubprocessTest.cpp