comparison 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
comparison
equal deleted inserted replaced
4200:7112a8af0b63 4201:2d5209153b32
68 } 68 }
69 } 69 }
70 70
71 const Font* FontRegistry::FindFont(const std::string& fontName) const 71 const Font* FontRegistry::FindFont(const std::string& fontName) const
72 { 72 {
73 for (Fonts::const_iterator it = fonts_.begin(); it != fonts_.end(); it++) 73 for (Fonts::const_iterator it = fonts_.begin(); it != fonts_.end(); ++it)
74 { 74 {
75 if ((*it)->GetName() == fontName) 75 if ((*it)->GetName() == fontName)
76 { 76 {
77 return *it; 77 return *it;
78 } 78 }