diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2019-02-27 01:29:52 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2019-02-27 01:29:52 +0000 |
commit | ded9f0efade11b4d3d95d0f93c92fde0e8ac3a4c (patch) | |
tree | 95a038a7cedc1766e9187ba392c53130182f9744 /libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp | |
parent | 62f3900715b425ad8c43227bc0b4442197ae7635 (diff) | |
download | bcm5719-llvm-ded9f0efade11b4d3d95d0f93c92fde0e8ac3a4c.tar.gz bcm5719-llvm-ded9f0efade11b4d3d95d0f93c92fde0e8ac3a4c.zip |
Fix an ambiguity in the tests that gcc-tot complained about.
llvm-svn: 354944
Diffstat (limited to 'libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp')
-rw-r--r-- | libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp b/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp index 3e6a7d79ffd..12772c42f16 100644 --- a/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp +++ b/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp @@ -72,7 +72,7 @@ int main(int, char**) testRuntimeSpan(std::span<int, 5>(iArr2 + 1, 5)); std::string s; - testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0)); + testRuntimeSpan(std::span<std::string>(&s, (std::size_t) 0)); testRuntimeSpan(std::span<std::string>(&s, 1)); return 0; |