Commit db9076e9 authored by Povilas Kanapickas's avatar Povilas Kanapickas
Browse files

Ensure that classes with overridden functions have virtual destructor

parent 5ee43f5e
...@@ -112,7 +112,7 @@ class Process { ...@@ -112,7 +112,7 @@ class Process {
*/ */
Process(); Process();
~Process(); virtual ~Process();
/** /**
* Fork manually. Usually, fork() is called as part of Start() but for * Fork manually. Usually, fork() is called as part of Start() but for
......
...@@ -80,7 +80,7 @@ public: ...@@ -80,7 +80,7 @@ public:
class XServer : public xorg::testing::Process { class XServer : public xorg::testing::Process {
public: public:
XServer(); XServer();
~XServer(); virtual ~XServer();
/** /**
* Start a new server. If no binary is given, the server started is the * Start a new server. If no binary is given, the server started is the
......
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