aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Grids/NGrid.h
diff options
context:
space:
mode:
authorSpp <none@none>2010-08-21 20:08:47 +0200
committerSpp <none@none>2010-08-21 20:08:47 +0200
commitc3343638cb99865e27c916ba3315aa62ad654e81 (patch)
treedc90be668561440533d57fe751955408a5c8650b /src/server/game/Grids/NGrid.h
parent6714feb3ee95fbc2967f7ea11c837d3caac90d3a (diff)
Core: Remove lots warnings:
- All "'xxx' will be initialized after 'yyy' when initialized here" - Some "unused variable" - Some "enumeration value 'xxx' not handled in switch" --HG-- branch : trunk
Diffstat (limited to 'src/server/game/Grids/NGrid.h')
-rw-r--r--src/server/game/Grids/NGrid.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Grids/NGrid.h b/src/server/game/Grids/NGrid.h
index 1411ac71c4a..cbbde131421 100644
--- a/src/server/game/Grids/NGrid.h
+++ b/src/server/game/Grids/NGrid.h
@@ -35,11 +35,11 @@ class GridInfo
{
public:
GridInfo()
- : i_timer(0), i_unloadActiveLockCount(0), i_unloadExplicitLock(false), i_unloadReferenceLock(false),
- vis_Update(0, irand(0,DEFAULT_VISIBILITY_NOTIFY_PERIOD)) {}
+ : i_timer(0), vis_Update(0, irand(0,DEFAULT_VISIBILITY_NOTIFY_PERIOD)),
+ i_unloadActiveLockCount(0), i_unloadExplicitLock(false), i_unloadReferenceLock(false) {}
GridInfo(time_t expiry, bool unload = true )
- : i_timer(expiry), i_unloadActiveLockCount(0), i_unloadExplicitLock(!unload), i_unloadReferenceLock(false),
- vis_Update(0, irand(0,DEFAULT_VISIBILITY_NOTIFY_PERIOD)) {}
+ : i_timer(expiry), vis_Update(0, irand(0,DEFAULT_VISIBILITY_NOTIFY_PERIOD)),
+ i_unloadActiveLockCount(0), i_unloadExplicitLock(!unload), i_unloadReferenceLock(false) {}
const TimeTracker& getTimeTracker() const { return i_timer; }
bool getUnloadLock() const { return i_unloadActiveLockCount || i_unloadExplicitLock || i_unloadReferenceLock; }
void setUnloadExplicitLock( bool on ) { i_unloadExplicitLock = on; }