From 27fa979d7350d4ef6f69415c8b310bb08045fe36 Mon Sep 17 00:00:00 2001 From: jpark37 Date: Thu, 19 Mar 2020 11:19:26 -0700 Subject: [PATCH] UI: Make Importer destructor virtual Allows unique_ptr to clean up without warnings. --- UI/importers/importers.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/UI/importers/importers.hpp b/UI/importers/importers.hpp index a085e4171..3b6322bfb 100644 --- a/UI/importers/importers.hpp +++ b/UI/importers/importers.hpp @@ -38,6 +38,7 @@ typedef std::vector 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;