UI: Make Importer destructor virtual
Allows unique_ptr to clean up without warnings.
This commit is contained in:
parent
b19ea6fe35
commit
27fa979d73
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ typedef std::vector<std::string> OBSImporterFiles;
|
|||
|
||||
class Importer {
|
||||
public:
|
||||
virtual ~Importer() {}
|
||||
virtual std::string Prog() { return "Null"; };
|
||||
virtual int ImportScenes(const std::string &path, std::string &name,
|
||||
json11::Json &res) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue