mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Removed some noexcept operators.
This commit is contained in:
parent
f6dd49071e
commit
c51ad4a432
|
@ -21,8 +21,7 @@ class VideoGameListView : public BasicGameListView
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VideoGameListView(Window* window, FileData* root);
|
VideoGameListView(Window* window, FileData* root);
|
||||||
|
virtual ~VideoGameListView();
|
||||||
virtual ~VideoGameListView() noexcept;
|
|
||||||
|
|
||||||
virtual void onShow() override;
|
virtual void onShow() override;
|
||||||
virtual void onThemeChanged(const std::shared_ptr<ThemeData>& theme) override;
|
virtual void onThemeChanged(const std::shared_ptr<ThemeData>& theme) override;
|
||||||
|
|
|
@ -39,7 +39,7 @@ class GuiComponent
|
||||||
public:
|
public:
|
||||||
GuiComponent(Window* window);
|
GuiComponent(Window* window);
|
||||||
|
|
||||||
virtual ~GuiComponent() noexcept;
|
virtual ~GuiComponent();
|
||||||
|
|
||||||
virtual void textInput(const std::string& text);
|
virtual void textInput(const std::string& text);
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ BadgesComponent::BadgesComponent(Window* window)
|
||||||
mImageComponents.insert({SLOT_ALTERNATIVE_EMULATOR, mImageAltEmu});
|
mImageComponents.insert({SLOT_ALTERNATIVE_EMULATOR, mImageAltEmu});
|
||||||
}
|
}
|
||||||
|
|
||||||
BadgesComponent::~BadgesComponent() noexcept
|
BadgesComponent::~BadgesComponent()
|
||||||
{
|
{
|
||||||
for (GuiComponent* c : mChildren)
|
for (GuiComponent* c : mChildren)
|
||||||
c->clearChildren();
|
c->clearChildren();
|
||||||
|
|
|
@ -28,7 +28,7 @@ class BadgesComponent : public FlexboxComponent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BadgesComponent(Window* window);
|
BadgesComponent(Window* window);
|
||||||
~BadgesComponent() noexcept;
|
~BadgesComponent();
|
||||||
|
|
||||||
std::string getValue() const override;
|
std::string getValue() const override;
|
||||||
// Should be a list of strings.
|
// Should be a list of strings.
|
||||||
|
|
|
@ -18,8 +18,7 @@ class ImageComponent : public GuiComponent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ImageComponent(Window* window, bool forceLoad = false, bool dynamic = true);
|
ImageComponent(Window* window, bool forceLoad = false, bool dynamic = true);
|
||||||
|
virtual ~ImageComponent() {};
|
||||||
virtual ~ImageComponent() noexcept {};
|
|
||||||
|
|
||||||
void setDefaultImage(std::string path) { mDefaultPath = path; }
|
void setDefaultImage(std::string path) { mDefaultPath = path; }
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ public:
|
||||||
void rasterizeAt(size_t width, size_t height);
|
void rasterizeAt(size_t width, size_t height);
|
||||||
glm::vec2 getSourceImageSize() const { return mSourceSize; }
|
glm::vec2 getSourceImageSize() const { return mSourceSize; }
|
||||||
|
|
||||||
virtual ~TextureResource() noexcept;
|
virtual ~TextureResource();
|
||||||
|
|
||||||
bool isInitialized() const { return true; }
|
bool isInitialized() const { return true; }
|
||||||
bool isTiled() const;
|
bool isTiled() const;
|
||||||
|
|
Loading…
Reference in a new issue