diff OrthancFramework/Sources/Images/FontRegistry.cpp @ 4201:2d5209153b32

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 08:18:28 +0200
parents bf7b9edf6b81
children db3932f9660d
line wrap: on
line diff
--- a/OrthancFramework/Sources/Images/FontRegistry.cpp	Wed Sep 16 20:53:31 2020 +0200
+++ b/OrthancFramework/Sources/Images/FontRegistry.cpp	Thu Sep 17 08:18:28 2020 +0200
@@ -70,7 +70,7 @@
 
   const Font* FontRegistry::FindFont(const std::string& fontName) const
   {
-    for (Fonts::const_iterator it = fonts_.begin(); it != fonts_.end(); it++)
+    for (Fonts::const_iterator it = fonts_.begin(); it != fonts_.end(); ++it)
     {
       if ((*it)->GetName() == fontName)
       {