mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 12:05:38 +00:00
Fixed some GCC compiler warnings.
This commit is contained in:
parent
3a1c9d41ce
commit
fa4151a3d9
|
@ -16,14 +16,11 @@
|
|||
#include "components/primary/PrimaryComponent.h"
|
||||
#include "resources/Font.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
struct CarouselElement {
|
||||
std::shared_ptr<GuiComponent> logo;
|
||||
std::string logoPath;
|
||||
std::string defaultLogoPath;
|
||||
};
|
||||
}; // namespace
|
||||
struct CarouselElement {
|
||||
std::shared_ptr<GuiComponent> logo;
|
||||
std::string logoPath;
|
||||
std::string defaultLogoPath;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
class CarouselComponent : public PrimaryComponent<T>, protected IList<CarouselElement, T>
|
||||
|
|
|
@ -15,13 +15,10 @@
|
|||
#include "components/primary/PrimaryComponent.h"
|
||||
#include "resources/Font.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
struct TextListData {
|
||||
unsigned int colorId;
|
||||
std::shared_ptr<TextCache> textCache;
|
||||
};
|
||||
}; // namespace
|
||||
struct TextListData {
|
||||
unsigned int colorId;
|
||||
std::shared_ptr<TextCache> textCache;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
class TextListComponent : public PrimaryComponent<T>, private IList<TextListData, T>
|
||||
|
|
Loading…
Reference in a new issue