Fix vector<bool> tests that were using ints copy-pasted from vector<int> tests.
I copied the bool a[] 0/1 pattern from another vector<bool> test.
Fixes MSVC warning C4305 "'argument': truncation from 'int' to 'const bool'".
Paths
| Differential D21092
[libcxx] [test] Fix vector<bool> tests that were using ints copy-pasted from vector<int> tests. ClosedPublic Authored by STL_MSFT on Jun 7 2016, 12:19 PM.
Details
Summary Fix vector<bool> tests that were using ints copy-pasted from vector<int> tests. I copied the bool a[] 0/1 pattern from another vector<bool> test. Fixes MSVC warning C4305 "'argument': truncation from 'int' to 'const bool'".
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jun 13 2016, 7:58 PM
Revision Contents
Diff 59929 test/std/containers/sequences/vector.bool/assign_copy.pass.cpp
test/std/containers/sequences/vector.bool/construct_size_value.pass.cpp
test/std/containers/sequences/vector.bool/construct_size_value_alloc.pass.cpp
test/std/containers/sequences/vector.bool/copy.pass.cpp
test/std/containers/sequences/vector.bool/copy_alloc.pass.cpp
|