Explicitly template instantiate `std::min/max` in a couple places
authorJosh Watzman <jwatzman@fb.com>
Mon, 4 May 2015 21:54:40 +0000 (14:54 -0700)
committerPraveen Kumar Ramakrishnan <praveenr@fb.com>
Tue, 12 May 2015 00:02:14 +0000 (17:02 -0700)
commit4c929bc52df23c4c964b29a731b768ecb1619cf8
treea694568ad84583bab539c1e3b70df16ceb5a9573
parente2e4c525b587d1c295fc8e7578ec073c79123a63
Explicitly template instantiate `std::min/max` in a couple places

Summary:
This is for OS X; there is apparently some difference between
its types and Linux's typical types, causing incomopatibilities between
a `long int` and a `long long int`. These two explicit template
instantiations fix the issue.

Test Plan: g++-4.9 on OS X compiles these files now.

Reviewed By: lucian@fb.com

Subscribers: folly-diffs@, yfeldblum, chalfant

FB internal diff: D2040509

Signature: t1:2040509:1430516624:9db8146b7824c0d09bac418a10a5f54451cdd5db
folly/MemoryMapping.cpp
folly/experimental/fibers/EventBaseLoopController-inl.h