Add a virtual dtor to the Parser to ensure proper deletion even with casts
This commit is contained in:
parent
43133d94a4
commit
508cdd729a
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
|||
namespace sfz {
|
||||
class Parser {
|
||||
public:
|
||||
virtual ~Parser() = default;
|
||||
virtual bool loadSfzFile(const fs::path& file);
|
||||
const std::map<std::string, std::string>& getDefines() const noexcept { return defines; }
|
||||
const std::vector<fs::path>& getIncludedFiles() const noexcept { return includedFiles; }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue