aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multi_span_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multi_span_tests.cpp')
-rw-r--r--tests/multi_span_tests.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/multi_span_tests.cpp b/tests/multi_span_tests.cpp
index 2d23f85..31067f3 100644
--- a/tests/multi_span_tests.cpp
+++ b/tests/multi_span_tests.cpp
@@ -637,7 +637,7 @@ SUITE(multi_span_tests)
#endif
#ifdef CONFIRM_COMPILATION_ERRORS
- static_bounds<size_t, 7, dynamic_range, 2> b12(b11);
+ static_bounds<std::size_t, 7, dynamic_range, 2> b12(b11);
b12 = b11;
b11 = b12;
@@ -1291,8 +1291,8 @@ SUITE(multi_span_tests)
CHECK(i1[0] == 0);
// components of different types
- size_t c0 = 0;
- size_t c1 = 1;
+ std::size_t c0 = 0;
+ std::size_t c1 = 1;
index<3> i2(c0, c1, 2);
CHECK(i2[0] == 0);
@@ -1319,7 +1319,7 @@ SUITE(multi_span_tests)
CHECK(i1[0] == 0);
// components of different types
- size_t c0 = 0;
+ std::size_t c0 = 0;
index<1> i2(c0);
CHECK(i2[0] == 0);
@@ -1674,7 +1674,7 @@ SUITE(multi_span_tests)
for (auto& b : wav) {
b = byte(0);
}
- for (size_t i = 0; i < 4; ++i) {
+ for (std::size_t i = 0; i < 4; ++i) {
CHECK(a[i] == 0);
}
}
@@ -1684,7 +1684,7 @@ SUITE(multi_span_tests)
for (auto& n : av) {
n = 1;
}
- for (size_t i = 0; i < 4; ++i) {
+ for (std::size_t i = 0; i < 4; ++i) {
CHECK(a[i] == 1);
}
}