From d07406cd5859630b027dfb39f88788a84021e4bc Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Sun, 23 Apr 2017 20:44:45 -0400 Subject: [PATCH] fix double pointer stupidity --- src/Simulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simulation.cpp b/src/Simulation.cpp index 5a4a02d..f1ce7e8 100644 --- a/src/Simulation.cpp +++ b/src/Simulation.cpp @@ -104,7 +104,7 @@ bool Simulation::parseVector(string fileName) { in >> valInt; for(auto i = wires.begin(); i != wires.end(); ++i) { - if(i->getName() == tmpString) { + if((**i).getName() == tmpString) { tmpWire = *i; } }