Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix call to std::min() with potentially multiple arg types
Summary: `std::min` requires both its arguments to have identical types. In this call-site in `folly/algorithm/simd/test/ContainsTest.cpp`, one argument has type `unsigned long` and the other has type `std::size_t` (from `std::vector<T>::size_type`). These two types may be the same on some platforms, in that `size_t` is an alias to `unsigned long` on some platforms, but this is not specified. And this assumption does in practice fail, breaking the build. Differential Revision: D64643993 fbshipit-source-id: 4559f14c2bb548036c7bab408c61b46380603e8a
- Loading branch information