aboutsummaryrefslogtreecommitdiff
path: root/Circuit.h
diff options
context:
space:
mode:
Diffstat (limited to 'Circuit.h')
-rw-r--r--Circuit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Circuit.h b/Circuit.h
index 05e4626..6819a6f 100644
--- a/Circuit.h
+++ b/Circuit.h
@@ -33,7 +33,7 @@ private:
std::map<string, Node *> nodes = {};
vector<Net *> nets = {};
- LoopDetection * ld = new LoopDetection();
+ LoopDetection loops = LoopDetection();
virtual Node * find_node(string label);
};