- 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:
parent
cfd7a025db
commit
b2b905427b
|
@ -26,6 +26,7 @@
|
||||||
#include "thread.hh"
|
#include "thread.hh"
|
||||||
|
|
||||||
#include "deletor.tcc"
|
#include "deletor.tcc"
|
||||||
|
#include "sequences.tcc"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
@ -59,7 +60,7 @@ ConcreteEnvironment::ConcreteEnvironment(const ConcreteEnvironment& ce) :
|
||||||
{
|
{
|
||||||
const Processes& ce_proc = ce._processes;
|
const Processes& ce_proc = ce._processes;
|
||||||
insert_iterator<Processes> dest(_processes, _processes.begin());
|
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));
|
*dest++ = new DynamicProcess(dynamic_cast<const DynamicProcess&>(**orig));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1623,7 +1623,7 @@ TextSimulation::update(const History& changed_history)
|
||||||
oss.str(string());
|
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 fill0 = 25;
|
||||||
static const unsigned int fill1 = 15;
|
static const unsigned int fill1 = 15;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue