1
0
forked from mirrors/0ad

Remove inconsistent override in CDropdown.h

It was added in 670f1e5d42 and, while not illegal, was inconsistent with the
rest of the header file, which caused compiler warnings.
As a quick solution the override keyword is simply removed again.
In the long run, it would be good to still modernise the style of all files
in that directory (at once).
This commit is contained in:
Vantha
2025-12-28 21:32:05 +01:00
committed by Vantha
parent 8e820a988e
commit 2e450f0f52
+1 -1
View File
@@ -74,7 +74,7 @@ public:
*/
virtual void Draw(CCanvas2D& canvas);
virtual void CreateJSObject() override;
virtual void CreateJSObject();
// This is one of the few classes we actually need to redefine this function
// this is because the size of the control changes whether it is open