summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-14 07:09:39 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-14 07:09:39 +0100
commitb48fb779024138a760b5c6309d097b712d2bb853 (patch)
tree89869a7462fa59d802be9652ad4b975e896b4c2f
parent7027372cd7015e9d457cd93198e6646650707290 (diff)
downloaddabmod-b48fb779024138a760b5c6309d097b712d2bb853.tar.gz
dabmod-b48fb779024138a760b5c6309d097b712d2bb853.tar.bz2
dabmod-b48fb779024138a760b5c6309d097b712d2bb853.zip
Reduce stringstram scope in ~Flowgraph
-rw-r--r--src/Flowgraph.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Flowgraph.cpp b/src/Flowgraph.cpp
index ae86417..506832c 100644
--- a/src/Flowgraph.cpp
+++ b/src/Flowgraph.cpp
@@ -238,9 +238,8 @@ Flowgraph::~Flowgraph()
{
PDEBUG("Flowgraph::~Flowgraph() @ %p\n", this);
- stringstream ss;
-
if (myProcessTime) {
+ stringstream ss;
ss << "Process time:\n";
char node_time_sz[1024] = {};