You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2014/06/06 19:42:50 UTC
git commit: Added virtual destructor to Operation base class.
Repository: mesos
Updated Branches:
refs/heads/master 5cbdbf2a5 -> 10a9dac59
Added virtual destructor to Operation base class.
Review: https://reviews.apache.org/r/22311
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/10a9dac5
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/10a9dac5
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/10a9dac5
Branch: refs/heads/master
Commit: 10a9dac59a5a03809e2fe31c81983d96f7eb275e
Parents: 5cbdbf2
Author: Dominic Hamon <dh...@twopensource.com>
Authored: Fri Jun 6 10:42:24 2014 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Fri Jun 6 10:42:24 2014 -0700
----------------------------------------------------------------------
src/launcher/launcher.hpp | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/10a9dac5/src/launcher/launcher.hpp
----------------------------------------------------------------------
diff --git a/src/launcher/launcher.hpp b/src/launcher/launcher.hpp
index 551b445..35cdc69 100644
--- a/src/launcher/launcher.hpp
+++ b/src/launcher/launcher.hpp
@@ -42,6 +42,8 @@ extern const std::string DEFAULT_EXECUTABLE;
class Operation
{
public:
+ virtual ~Operation() {}
+
// Launches this operation in a subprocess. The user may choose to
// specify the executable and the path in which to search for the
// executable. If not specified, the default executable and the