2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 06:27:43 +00:00

Make SIGINT a bit cleaner for packaging

This commit is contained in:
Jack Andersen
2018-05-25 17:07:04 -10:00
parent ec58e5b35f
commit c11557bcff
8 changed files with 28 additions and 11 deletions

View File

@@ -100,9 +100,10 @@ public:
hecl::VerbosityLevel = info.verbosityLevel;
hecl::GuiMode = info.gui;
}
virtual ~ToolBase() {}
virtual ~ToolBase() = default;
virtual hecl::SystemString toolName() const=0;
virtual int run()=0;
virtual void cancel() {}
inline operator bool() const {return m_good;}
};