Commit 549c1f7c authored by Lars Buitinck's avatar Lars Buitinck

prevent compiler warning for missing virtual destructor

parent 07c422a5
...@@ -3,6 +3,7 @@ using namespace std; ...@@ -3,6 +3,7 @@ using namespace std;
class Base { class Base {
public: public:
virtual const char* name() { return "Base"; } virtual const char* name() { return "Base"; }
virtual ~Base() {}
}; };
template <class A1> template <class A1>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment