fix waitWithSemaphore return type
Summary: waitWithSemaphore always tried to return a value, which is not what the underlying implementation did. If the value_type was an object, it would fail to compile. Test Plan: unit tests (added one to compile all the variants) Reviewed By: hans@fb.com Subscribers: folly@lists, fugalh FB internal diff: D1326916
Showing
Please register or sign in to comment