Fix unittest compile error on futures/test/RetryingTest.cpp.
authorMohamed Amin JABRI <amin.jabri@gmail.com>
Wed, 27 Sep 2017 17:38:18 +0000 (10:38 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 27 Sep 2017 17:51:27 +0000 (10:51 -0700)
commitb83cd9e34b299b41c110f539ffa667653c82dafe
treefcc7b5b5462d521f571f69d6a05db6cc60f4a478
parentb68452582ffa61421534d7f61f4d5f06e077ed39
Fix unittest compile error on futures/test/RetryingTest.cpp.

Summary:
On MacOS compiling unittests with "make chek" shows the following compile
error:
```
../futures/test/RetryingTest.cpp:168:26: error: no matching function for call to 'min'
 newMemLimit.rlim_cur = std::min(1UL << 30, oldMemLimit.rlim_max);
```
Closes https://github.com/facebook/folly/pull/680

Reviewed By: elsteveogrande

Differential Revision: D5921433

Pulled By: yfeldblum

fbshipit-source-id: 236d8336f852750a983c2e268db8811d1a4ed9ee
folly/futures/test/RetryingTest.cpp