- fix picky C++ compiler issue
This commit is contained in:
parent
e261e5860e
commit
c86d87c19f
|
@ -1173,10 +1173,10 @@ void CoreData::unRegisterFontChangedCallback(std::string entityName) {
|
|||
}
|
||||
}
|
||||
void CoreData::triggerFontChangedCallbacks(std::string fontUniqueId, Font *font) {
|
||||
for (std::map<std::string, std::vector<FontChangedCallbackInterface *>>::const_iterator iterMap =
|
||||
for (std::map<std::string, std::vector<FontChangedCallbackInterface *> >::const_iterator iterMap =
|
||||
registeredFontChangedCallbacks.begin();
|
||||
iterMap != registeredFontChangedCallbacks.end(); iterMap++) {
|
||||
for (int index = 0; index < iterMap->second.size(); ++index) {
|
||||
for (unsigned int index = 0; index < iterMap->second.size(); ++index) {
|
||||
FontChangedCallbackInterface *cb = iterMap->second[index];
|
||||
cb->FontChangedCallback(fontUniqueId, font);
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@ private:
|
|||
string battleEndLoseVideoFilenameFallback;
|
||||
string battleEndLoseMusicFilename;
|
||||
|
||||
std::map<std::string,std::vector<FontChangedCallbackInterface *>> registeredFontChangedCallbacks;
|
||||
std::map<std::string,std::vector<FontChangedCallbackInterface *> > registeredFontChangedCallbacks;
|
||||
public:
|
||||
|
||||
enum TextureSystemType {
|
||||
|
|
Loading…
Reference in New Issue