diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-06-20 21:55:20 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-06-20 21:55:20 +0700 |
commit | ab04917cb39891520be2130d9142ced2100f627b (patch) | |
tree | 72824c8341555a6ee386a0289dc9cf6f6d7a065d | |
parent | 2132725af047e02248679f8ac5f2b625a01a1e72 (diff) |
[embind tests] Give AbstractClassWithConstructor a virtual destructor.
This is required for the IMVU build as it errors on this.
-rw-r--r-- | tests/embind/embind_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/embind/embind_test.cpp b/tests/embind/embind_test.cpp index 511f179b..7ac321a8 100644 --- a/tests/embind/embind_test.cpp +++ b/tests/embind/embind_test.cpp @@ -1201,6 +1201,8 @@ struct AbstractClassWithConstructor { : s(s) {} + virtual ~AbstractClassWithConstructor() {}; + virtual std::string abstractMethod() = 0; std::string concreteMethod() { return s; |