Browse Source

UI: Make Importer destructor virtual

Allows unique_ptr to clean up without warnings.
jpark37 5 years ago
parent
commit
27fa979d73
1 changed files with 1 additions and 0 deletions
  1. 1 0
      UI/importers/importers.hpp

+ 1 - 0
UI/importers/importers.hpp

@@ -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;