summaryrefslogtreecommitdiff
path: root/CIAO/CCF/CCF/CIDL/SemanticGraph/Executor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/CCF/CCF/CIDL/SemanticGraph/Executor.hpp')
-rw-r--r--CIAO/CCF/CCF/CIDL/SemanticGraph/Executor.hpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/CIAO/CCF/CCF/CIDL/SemanticGraph/Executor.hpp b/CIAO/CCF/CCF/CIDL/SemanticGraph/Executor.hpp
index 55f0fa0919c..378638b2187 100644
--- a/CIAO/CCF/CCF/CIDL/SemanticGraph/Executor.hpp
+++ b/CIAO/CCF/CCF/CIDL/SemanticGraph/Executor.hpp
@@ -39,11 +39,14 @@ namespace CCF
protected:
friend class Graph<Node, Edge>;
- Executor ()
+ Executor () // For virtual inheritance only.
{
type_info (static_type_info ());
}
+ virtual
+ ~Executor () = 0;
+
void
add_edge_left (Implements& e)
{
@@ -67,7 +70,8 @@ namespace CCF
protected:
friend class Graph<Node, Edge>;
- ComponentExecutor ()
+ ComponentExecutor (Path const& path, unsigned long line)
+ : Node (path, line)
{
type_info (static_type_info ());
}
@@ -93,7 +97,8 @@ namespace CCF
protected:
friend class Graph<Node, Edge>;
- HomeExecutor ()
+ HomeExecutor (Path const& path, unsigned long line)
+ : Node (path, line)
{
type_info (static_type_info ());
}