Remove virtual destructors from POD toolkit types

This one's been haunting me for a couple decades.  "Make all the things
virtual!" was kind of a strategy I had for forward compatibility when I
wrote this code when I was 20 or so and didn't know better.
This commit is contained in:
Scott Wheeler
2023-07-30 02:47:00 +02:00
parent 9bcba812af
commit a1bdb0171d
10 changed files with 10 additions and 10 deletions

View File

@@ -299,7 +299,7 @@ public:
file(nullptr),
stream(nullptr) {}
~FileRefPrivate() override {
~FileRefPrivate() {
delete file;
delete stream;
}