mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
[11588] Use override specifier on Update() methods
Note: override is new keyword in C++11 but VC++ already have override keyword with same behaviour long time. GCC support explicit overrides starting at 4.7. Added workaround for GCC versions < 4.7.
This commit is contained in:
parent
108a167c46
commit
f45e9ad680
12 changed files with 18 additions and 11 deletions
|
|
@ -432,7 +432,7 @@ class MANGOS_DLL_SPEC WorldObject : public Object
|
|||
|
||||
virtual ~WorldObject ( ) {}
|
||||
|
||||
virtual void Update ( uint32 /*update_diff*/, uint32 /*time_diff*/ ) {}
|
||||
virtual void Update(uint32 /*update_diff*/, uint32 /*time_diff*/) {}
|
||||
|
||||
void _Create( uint32 guidlow, HighGuid guidhigh, uint32 phaseMask);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue