From ab04917cb39891520be2130d9142ced2100f627b Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 20 Jun 2014 21:55:20 +0700 Subject: [embind tests] Give AbstractClassWithConstructor a virtual destructor. This is required for the IMVU build as it errors on this. --- tests/embind/embind_test.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3-18-g5258