- 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) {
|
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();
|
registeredFontChangedCallbacks.begin();
|
||||||
iterMap != registeredFontChangedCallbacks.end(); iterMap++) {
|
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];
|
FontChangedCallbackInterface *cb = iterMap->second[index];
|
||||||
cb->FontChangedCallback(fontUniqueId, font);
|
cb->FontChangedCallback(fontUniqueId, font);
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,7 +114,7 @@ private:
|
||||||
string battleEndLoseVideoFilenameFallback;
|
string battleEndLoseVideoFilenameFallback;
|
||||||
string battleEndLoseMusicFilename;
|
string battleEndLoseMusicFilename;
|
||||||
|
|
||||||
std::map<std::string,std::vector<FontChangedCallbackInterface *>> registeredFontChangedCallbacks;
|
std::map<std::string,std::vector<FontChangedCallbackInterface *> > registeredFontChangedCallbacks;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
enum TextureSystemType {
|
enum TextureSystemType {
|
||||||
|
|
Loading…
Reference in New Issue