Skip to content

Commit 9959941

Browse files
committed
Fix the Unix CI by adding an explicit destructor
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
1 parent bd9e866 commit 9959941

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tests/VTables/VTables.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Foo::Foo()
44
{
55
}
66

7+
Foo::~Foo()
8+
{
9+
}
10+
711
int Foo::vfoo()
812
{
913
return 5;

tests/VTables/VTables.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class DLL_API Foo
1010
};
1111

1212
Foo();
13+
~Foo();
1314
virtual int vfoo();
1415
virtual int vbar();
1516

0 commit comments

Comments
 (0)