Util+Test: Change size_type to size_t

The specialized size_type type is just an alias for size_t.
This commit is contained in:
Riyyi
2021-09-06 01:59:08 +02:00
parent 68cdd625b4
commit 1366bf14b1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ void TestSuite::run()
Util::Timer totalTimer;
size_t caseFailedCount = 0;
for (std::vector<TestCase>::size_type i = 0; i < m_cases.size(); ++i) {
for (size_t i = 0; i < m_cases.size(); ++i) {
printf(" START %s (%zu/%zu)\n", m_cases.at(i).name(), i + 1, m_cases.size());
m_currentTestCasePassed = true;