diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-05-30 14:48:04 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-05-30 14:48:04 +0200 |
commit | 4e870a98a8a2e589f7e1487770665afa32d2cb9b (patch) | |
tree | 36c014fb3429837b1f5ed460729eeebf8672a52d /src/Flowgraph.cpp | |
parent | 13c6583d4ee44e5b9785385e528de695e4744d11 (diff) | |
download | dabmod-4e870a98a8a2e589f7e1487770665afa32d2cb9b.tar.gz dabmod-4e870a98a8a2e589f7e1487770665afa32d2cb9b.tar.bz2 dabmod-4e870a98a8a2e589f7e1487770665afa32d2cb9b.zip |
Avoid variable shadowing function warnings
Diffstat (limited to 'src/Flowgraph.cpp')
-rw-r--r-- | src/Flowgraph.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Flowgraph.cpp b/src/Flowgraph.cpp index c14280e..e594d70 100644 --- a/src/Flowgraph.cpp +++ b/src/Flowgraph.cpp @@ -198,6 +198,16 @@ int Node::process() return ret; } +time_t Node::processTime() const +{ + return myProcessTime; +} + +void Node::addProcessTime(time_t time) +{ + myProcessTime += time; +} + Edge::Edge(shared_ptr<Node>& srcNode, shared_ptr<Node>& dstNode) : mySrcNode(srcNode), myDstNode(dstNode) |