Commit 30a4e90e authored by Robert Bradshaw's avatar Robert Bradshaw

Merge pull request #318 from larsmans/virtual-destructor

prevent compiler warning for missing virtual destructor
parents 3c62a75e 549c1f7c
...@@ -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