commit | 1f4cad9f28b77d3daf73d03c0c261d21bde7ea43 | [log] [tgz] |
---|---|---|
author | Casey Carter <Casey@Carter.net> | Sat Oct 12 19:01:46 2019 +0000 |
committer | Casey Carter <Casey@Carter.net> | Sat Oct 12 19:01:46 2019 +0000 |
tree | 771560f74c4e5819da6198504c9b59ecea90264f | |
parent | 437d5a5dcfa1fd87260622d0041bea91ba636754 [diff] |
[libc++][test] Silence MSVC warning in std::optional test `make_optional<string>(4, 'X')` passes `4` (an `int`) as the first argument to `string`'s `(size_t, charT)` constructor, triggering a signed/unsigned mismatch warning when compiling with MSVC at `/W4`. The incredibly simple fix is to instead use an unsigned literal (`4u`). git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@374684 91177308-0d34-0410-b5e6-96231b3b80d8