UI: Make Importer destructor virtual
Allows unique_ptr to clean up without warnings.
This commit is contained in:
parent
b19ea6fe35
commit
27fa979d73
@ -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…
x
Reference in New Issue
Block a user