Skip to content

Commit

Permalink
Merge pull request #1232 from lairworks/virtualEventHandlerPump
Browse files Browse the repository at this point in the history
Mark `EventHandler::pump` as `virtual`
  • Loading branch information
DanRStevens authored Feb 20, 2025
2 parents 1e17339 + 27c67a8 commit cb4fcba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NAS2D/EventHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ namespace NAS2D
using QuitSignal = Signal<>;

public:
virtual ~EventHandler() = default;

ActivateSignal::Source& activate();

WindowHiddenSignal::Source& windowHidden();
Expand Down Expand Up @@ -111,7 +113,7 @@ namespace NAS2D
bool numlock() const;
bool control() const;

void pump();
virtual void pump();

void disconnectAll();

Expand Down

0 comments on commit cb4fcba

Please sign in to comment.