Add virtual destructor for abstract classes

This commit is contained in:
Sergey Parfenyuk
2019-04-27 12:37:24 +02:00
parent aa85c1bbf9
commit 49831a24b0
6 changed files with 8 additions and 0 deletions

View File

@@ -147,6 +147,8 @@ namespace openshot
/// Open the reader (and start consuming resources, such as images or video files)
virtual void Open() = 0;
virtual ~ReaderBase() = default;
};
}