Mercurial > hg > orthanc
diff OrthancFramework/UnitTestsSources/FileStorageTests.cpp @ 4203:4d42408da117
improving const-correctness in ParsedDicomFile
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 15:01:31 +0200 |
parents | bf7b9edf6b81 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/FileStorageTests.cpp Thu Sep 17 08:35:11 2020 +0200 +++ b/OrthancFramework/UnitTestsSources/FileStorageTests.cpp Thu Sep 17 15:01:31 2020 +0200 @@ -98,8 +98,8 @@ ASSERT_EQ(10u, ss.size()); unsigned int c = 0; - for (std::list<std::string>::iterator - i = u.begin(); i != u.end(); i++, c++) + for (std::list<std::string>::const_iterator + i = u.begin(); i != u.end(); ++i, c++) { ASSERT_TRUE(ss.find(*i) != ss.end()); if (c < 5)