Commit 9d207e8d authored by peastman's avatar peastman
Browse files

Added some missing virtual destructors

parent 9a26412b
...@@ -623,6 +623,8 @@ public: ...@@ -623,6 +623,8 @@ public:
*/ */
class CudaContext::ForcePreComputation { class CudaContext::ForcePreComputation {
public: public:
virtual ~ForcePreComputation() {
}
/** /**
* @param includeForce true if forces should be computed * @param includeForce true if forces should be computed
* @param includeEnergy true if potential energy should be computed * @param includeEnergy true if potential energy should be computed
...@@ -639,6 +641,8 @@ public: ...@@ -639,6 +641,8 @@ public:
*/ */
class CudaContext::ForcePostComputation { class CudaContext::ForcePostComputation {
public: public:
virtual ~ForcePostComputation() {
}
/** /**
* @param includeForce true if forces should be computed * @param includeForce true if forces should be computed
* @param includeEnergy true if potential energy should be computed * @param includeEnergy true if potential energy should be computed
......
...@@ -736,6 +736,8 @@ public: ...@@ -736,6 +736,8 @@ public:
*/ */
class OpenCLContext::ForcePreComputation { class OpenCLContext::ForcePreComputation {
public: public:
virtual ~ForcePreComputation() {
}
/** /**
* @param includeForce true if forces should be computed * @param includeForce true if forces should be computed
* @param includeEnergy true if potential energy should be computed * @param includeEnergy true if potential energy should be computed
...@@ -752,6 +754,8 @@ public: ...@@ -752,6 +754,8 @@ public:
*/ */
class OpenCLContext::ForcePostComputation { class OpenCLContext::ForcePostComputation {
public: public:
virtual ~ForcePostComputation() {
}
/** /**
* @param includeForce true if forces should be computed * @param includeForce true if forces should be computed
* @param includeEnergy true if potential energy should be computed * @param includeEnergy true if potential energy should be computed
......
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