Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
efd4a19a
Commit
efd4a19a
authored
Mar 14, 2012
by
Peter Eastman
Browse files
Added missing virtual destructors
parent
d2fbd46b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
platforms/opencl/src/OpenCLContext.h
platforms/opencl/src/OpenCLContext.h
+4
-0
No files found.
platforms/opencl/src/OpenCLContext.h
View file @
efd4a19a
...
@@ -538,6 +538,8 @@ struct OpenCLContext::MoleculeGroup {
...
@@ -538,6 +538,8 @@ struct OpenCLContext::MoleculeGroup {
class
OpenCLContext
::
WorkTask
{
class
OpenCLContext
::
WorkTask
{
public:
public:
virtual
void
execute
()
=
0
;
virtual
void
execute
()
=
0
;
virtual
~
WorkTask
()
{
}
};
};
class
OpenCLContext
::
WorkThread
{
class
OpenCLContext
::
WorkThread
{
...
@@ -578,6 +580,8 @@ private:
...
@@ -578,6 +580,8 @@ private:
class
OpenCLContext
::
ReorderListener
{
class
OpenCLContext
::
ReorderListener
{
public:
public:
virtual
void
execute
()
=
0
;
virtual
void
execute
()
=
0
;
virtual
~
ReorderListener
()
{
}
};
};
}
// namespace OpenMM
}
// namespace OpenMM
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment