- Minor change to use Iseq

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@873 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-08-15 18:29:06 +00:00
parent cfd7a025db
commit b2b905427b
2 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@
#include "thread.hh"
#include "deletor.tcc"
#include "sequences.tcc"
#include <algorithm>
#include <cassert>
@ -59,7 +60,7 @@ ConcreteEnvironment::ConcreteEnvironment(const ConcreteEnvironment& ce) :
{
const Processes& ce_proc = ce._processes;
insert_iterator<Processes> dest(_processes, _processes.begin());
for (Processes::const_iterator orig = ce_proc.begin(); orig != ce_proc.end(); orig++)
for (Iseq<Processes::const_iterator> orig = iseq(ce_proc); orig; orig++)
*dest++ = new DynamicProcess(dynamic_cast<const DynamicProcess&>(**orig));
}

View File

@ -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;