summaryrefslogtreecommitdiff
path: root/Simulator/include/Simulator.h
diff options
context:
space:
mode:
authorMatthijs Bijman <matthijs@bijman.org>2017-02-16 22:06:09 +0100
committerMatthijs Bijman <matthijs@bijman.org>2017-02-16 22:06:09 +0100
commite0b305fd1d845cba1b11578722f88adb193f756e (patch)
tree90440eafff0f2b72571eee8a9b9c644d39ae4b75 /Simulator/include/Simulator.h
parent6fa9f879a5dab29cdf481e70b6f303caf69bd76f (diff)
Update simulator to work with new db schema
The new schema removes the queued_simulation_section table and introduces the state and last_simulated_tick columns to the experiments table.
Diffstat (limited to 'Simulator/include/Simulator.h')
-rw-r--r--Simulator/include/Simulator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Simulator/include/Simulator.h b/Simulator/include/Simulator.h
index 381639af..1e0aaeb6 100644
--- a/Simulator/include/Simulator.h
+++ b/Simulator/include/Simulator.h
@@ -72,6 +72,7 @@ namespace Simulation
if ((*it).second.isFinished())
{
std::cout << "Finished simulation." << std::endl;
+ database.finishExperiment((*it).first);
it = experiments.erase(it);
}
else