2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

Silence compiler by adding cosmetic virtual destructors.

[SVN r41549]
This commit is contained in:
Jürgen Hunold
2007-12-01 20:24:51 +00:00
parent ab0911cf53
commit 40e4940877
4 changed files with 4 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ X make_x(int n) { return X(n); }
struct bar {};
struct foo
{
virtual ~foo() {}; // silence compiler warnings
virtual void f() = 0;
operator bar() const { return bar(); }
};