diff --git a/src/backend/concrete_environment.cc b/src/backend/concrete_environment.cc index ee0a324..4f9488e 100644 --- a/src/backend/concrete_environment.cc +++ b/src/backend/concrete_environment.cc @@ -26,6 +26,7 @@ #include "thread.hh" #include "deletor.tcc" +#include "sequences.tcc" #include #include @@ -59,7 +60,7 @@ ConcreteEnvironment::ConcreteEnvironment(const ConcreteEnvironment& ce) : { const Processes& ce_proc = ce._processes; insert_iterator dest(_processes, _processes.begin()); - for (Processes::const_iterator orig = ce_proc.begin(); orig != ce_proc.end(); orig++) + for (Iseq orig = iseq(ce_proc); orig; orig++) *dest++ = new DynamicProcess(dynamic_cast(**orig)); } diff --git a/src/text_simulation.cc b/src/text_simulation.cc index ef662f3..eb8db4d 100644 --- a/src/text_simulation.cc +++ b/src/text_simulation.cc @@ -1623,7 +1623,7 @@ TextSimulation::update(const History& changed_history) oss.str(string()); - // Set new format state flags, and save the old one + // Set new format fillers static const unsigned int fill0 = 25; static const unsigned int fill1 = 15;