diff options
author | Robert Bradshaw <robertwb@gmail.com> | 2014-08-23 15:43:02 -0700 |
---|---|---|
committer | Robert Bradshaw <robertwb@gmail.com> | 2014-08-23 15:43:02 -0700 |
commit | 30a4e90ef9eabfca0d627afda6ca83a05b744b4b (patch) | |
tree | e1df0a3468f7720c2409290609d650685cef36da | |
parent | 3c62a75e9194114a27319213db5def1a6347b9fd (diff) | |
parent | 549c1f7c54e33f44c85f9491af7674892ec6f111 (diff) | |
download | cython-30a4e90ef9eabfca0d627afda6ca83a05b744b4b.tar.gz |
Merge pull request #318 from larsmans/virtual-destructor
prevent compiler warning for missing virtual destructor
-rw-r--r-- | tests/run/cpp_template_subclasses_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run/cpp_template_subclasses_helper.h b/tests/run/cpp_template_subclasses_helper.h index a1266f186..3bb683785 100644 --- a/tests/run/cpp_template_subclasses_helper.h +++ b/tests/run/cpp_template_subclasses_helper.h @@ -3,6 +3,7 @@ using namespace std; class Base { public: virtual const char* name() { return "Base"; } + virtual ~Base() {} }; template <class A1> |