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.
![Screenshot 2022-06-28 at 11 20 59 AM](https://user-images.githubusercontent.com/71759915/176107433-fd35134d-27e0-4e55-bca8-d938f8ff599f.png)
Is there a problem with the version of cocos? I see that this function in CCNode has a virtual flag