FairyGUI-cocos2dx
FairyGUI-cocos2dx copied to clipboard
Missing "Virtual" and "Override" keyword in FUIContainer.h file
The current code which is written is
**void setGlobalZOrder(float globalZOrder);**
but it is the virtual function that have to be marked with "Override" keyword. So it should be
**virtual void setGlobalZOrder(float globalZOrder) override;**
Issue that I faced:
- If we skip those keywords then the build take a lot of time to build the project as this 1 line function has 1k+ warning that our compiler must go through it.
Note : If I just marked it as virtual and override then the build time reduce ~30 mint.

Is there a problem with the version of cocos? I see that this function in CCNode has a virtual flag