summaryrefslogtreecommitdiff
path: root/Simulator/include/Simulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Simulator/include/Simulator.h')
-rw-r--r--Simulator/include/Simulator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Simulator/include/Simulator.h b/Simulator/include/Simulator.h
index c41a4c2b..d0828dcd 100644
--- a/Simulator/include/Simulator.h
+++ b/Simulator/include/Simulator.h
@@ -64,7 +64,7 @@ namespace Simulation
auto it = experiments.begin();
while(it != experiments.end())
{
- auto history = (*it).second.getHistory();
+ auto& history = (*it).second.getHistory();
if (history.historySize() > 3000 || (*it).second.isFinished())
write((*it).first);