Removed some noexcept operators.

This commit is contained in:
Leon Styhre 2021-09-27 21:16:05 +02:00
parent f6dd49071e
commit c51ad4a432
6 changed files with 6 additions and 8 deletions

View file

@ -21,8 +21,7 @@ class VideoGameListView : public BasicGameListView
{
public:
VideoGameListView(Window* window, FileData* root);
virtual ~VideoGameListView() noexcept;
virtual ~VideoGameListView();
virtual void onShow() override;
virtual void onThemeChanged(const std::shared_ptr<ThemeData>& theme) override;

View file

@ -39,7 +39,7 @@ class GuiComponent
public:
GuiComponent(Window* window);
virtual ~GuiComponent() noexcept;
virtual ~GuiComponent();
virtual void textInput(const std::string& text);

View file

@ -46,7 +46,7 @@ BadgesComponent::BadgesComponent(Window* window)
mImageComponents.insert({SLOT_ALTERNATIVE_EMULATOR, mImageAltEmu});
}
BadgesComponent::~BadgesComponent() noexcept
BadgesComponent::~BadgesComponent()
{
for (GuiComponent* c : mChildren)
c->clearChildren();

View file

@ -28,7 +28,7 @@ class BadgesComponent : public FlexboxComponent
{
public:
BadgesComponent(Window* window);
~BadgesComponent() noexcept;
~BadgesComponent();
std::string getValue() const override;
// Should be a list of strings.

View file

@ -18,8 +18,7 @@ class ImageComponent : public GuiComponent
{
public:
ImageComponent(Window* window, bool forceLoad = false, bool dynamic = true);
virtual ~ImageComponent() noexcept {};
virtual ~ImageComponent() {};
void setDefaultImage(std::string path) { mDefaultPath = path; }

View file

@ -49,7 +49,7 @@ public:
void rasterizeAt(size_t width, size_t height);
glm::vec2 getSourceImageSize() const { return mSourceSize; }
virtual ~TextureResource() noexcept;
virtual ~TextureResource();
bool isInitialized() const { return true; }
bool isTiled() const;