Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: uniform_int_distribution has undefined behavior (UB) if data type is not one of short, int, long, long long, unsigned short, unsigned int, unsigned long, or unsigned long long. MSVC is strict about UB and doesn't allow uint8_t. MSVC also can't deduce one of the template parameter. Adding it explicitly. Reviewed By: protonu Differential Revision: D18940804 fbshipit-source-id: 839f97d6437a4f7011b2334f85d8e1a4dd329ec8
- Loading branch information