aboutsummaryrefslogtreecommitdiff
path: root/src/game/GridNotifiers.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-24 11:14:28 -0600
committermegamage <none@none>2009-02-24 11:14:28 -0600
commit699bc588b86a5176fce0900804fb7d00425383fe (patch)
tree18dde44b0118d86bfeaf294f7917c7ff0310fbbd /src/game/GridNotifiers.h
parent9d160c855fe950d96386165fe7f6e484b427b89d (diff)
[7330] Code warnings and style cleanups. Some bugs fixes. Author: VladimirMangos
1) comparison singed and unsigned values 2) redundent includes 3) wrong constructor :-part field initilization 4) unused not-/*name*/-guarded args in template/virtual functions that not required like args. 5) explicitly list not implemented achievement types. Also bugs fixed: 1) Drop wrong phase mask 0 check in WorldObject::InSamePhase. 2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result. 3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u. --HG-- branch : trunk
Diffstat (limited to 'src/game/GridNotifiers.h')
-rw-r--r--src/game/GridNotifiers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GridNotifiers.h b/src/game/GridNotifiers.h
index bfc8b58a6d9..db1e700fe55 100644
--- a/src/game/GridNotifiers.h
+++ b/src/game/GridNotifiers.h
@@ -1034,7 +1034,7 @@ namespace Trinity
~LocalizedPacketDo()
{
- for(int i = 0; i < i_data_cache.size(); ++i)
+ for(size_t i = 0; i < i_data_cache.size(); ++i)
delete i_data_cache[i];
}
void operator()( Player* p );