From 9959941f29e638de132c9c5a02620548d5eb7991 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Thu, 2 May 2019 00:56:45 +0300 Subject: [PATCH] Fix the Unix CI by adding an explicit destructor Signed-off-by: Dimitar Dobrev --- tests/VTables/VTables.cpp | 4 ++++ tests/VTables/VTables.h | 1 + 2 files changed, 5 insertions(+) diff --git a/tests/VTables/VTables.cpp b/tests/VTables/VTables.cpp index 033d47ea..7b084299 100644 --- a/tests/VTables/VTables.cpp +++ b/tests/VTables/VTables.cpp @@ -4,6 +4,10 @@ Foo::Foo() { } +Foo::~Foo() +{ +} + int Foo::vfoo() { return 5; diff --git a/tests/VTables/VTables.h b/tests/VTables/VTables.h index f223d427..2aecc5c3 100644 --- a/tests/VTables/VTables.h +++ b/tests/VTables/VTables.h @@ -10,6 +10,7 @@ public: }; Foo(); + ~Foo(); virtual int vfoo(); virtual int vbar();