1
0
Fork 0

Merge pull request #139 from AndyTaylorTweet/patch-1

Update YSFReflectors.cpp
ycs232-kbc
Jonathan Naylor 6 years ago committed by GitHub
commit 9495bb203b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -277,6 +277,9 @@ CYSFReflector* CYSFReflectors::findById(const std::string& id)
CYSFReflector* CYSFReflectors::findByName(const std::string& name)
{
std::string fullName = name;
if (m_makeUpper) {
std::transform(fullName.begin(), fullName.end(), fullName.begin(), ::toupper);
}
fullName.resize(16U, ' ');
for (std::vector<CYSFReflector*>::const_iterator it = m_currReflectors.cbegin(); it != m_currReflectors.cend(); ++it) {

Loading…
Cancel
Save