Skip to content
Commit 83243781 authored by Alexis Hunt's avatar Alexis Hunt
Browse files

Explicitly invoke the size_type specialization of max and min. This

avoids bugs where, when the allocator's size_type was smaller than int,
the multiplication or division would cause integral promotions and, with
two different integer types as arguments, deduction of the template
arguments would fail.

llvm-svn: 136540
parent 8d2ed566
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment