mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 20:03:58 +02:00
- fix picky C++ compiler issue
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user