[Scummvm-git-logs] scummvm master -> 75a19034c773ecab98d69a48ded79d4ac08bdd52
bluegr
noreply at scummvm.org
Thu Jan 1 22:28:09 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
75a19034c7 VIDEO: Change the destructor of the Subtitles class to virtual
Commit: 75a19034c773ecab98d69a48ded79d4ac08bdd52
https://github.com/scummvm/scummvm/commit/75a19034c773ecab98d69a48ded79d4ac08bdd52
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-01-02T00:27:54+02:00
Commit Message:
VIDEO: Change the destructor of the Subtitles class to virtual
Since the class has virtual member functions, it should also have a
virtual destructor
Changed paths:
video/subtitles.h
diff --git a/video/subtitles.h b/video/subtitles.h
index e6b671370ba..056da15bf73 100644
--- a/video/subtitles.h
+++ b/video/subtitles.h
@@ -82,7 +82,7 @@ public:
};
Subtitles();
- ~Subtitles();
+ virtual ~Subtitles();
void loadSRTFile(const Common::Path &fname);
void close();
More information about the Scummvm-git-logs
mailing list