mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
menue.h: Removed 'virtual' keyword from init method in CMenuItem
This change resolves -Woverloaded-virtual warnings.
Ensured that the init method is resolved at compile time,
as the base class version is not intended to be used in derived classes.
Origin commit data
------------------
Branch: ni/coolstream
Commit: c862f17130
Author: Thilo Graf <dbt@novatux.de>
Date: 2024-09-02 (Mon, 02 Sep 2024)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -159,7 +159,7 @@ class CMenuItem : public CComponentsSignals
|
|||||||
used = true;
|
used = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void init(const int X, const int Y, const int DX, const int OFFX);
|
void init(const int X, const int Y, const int DX, const int OFFX);
|
||||||
|
|
||||||
virtual int paint (bool selected = false) = 0;
|
virtual int paint (bool selected = false) = 0;
|
||||||
virtual int getHeight(void);
|
virtual int getHeight(void);
|
||||||
|
Reference in New Issue
Block a user