projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more allocation fixes (use snapshotting)
[model-checker.git]
/
model.cc
diff --git
a/model.cc
b/model.cc
index 28880dd266ead573229604e03a2d3370b89d4057..62be08746db8ad95fe4aa09283c2f2034250a750 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-31,7
+31,7
@@
ModelChecker::ModelChecker()
ModelChecker::~ModelChecker()
{
ModelChecker::~ModelChecker()
{
- std::map<int, class Thread *
, std::less< int >, MyAlloc< std::pair< int, class Thread * > >
>::iterator it;
+ std::map<int, class Thread *>::iterator it;
for (it = thread_map.begin(); it != thread_map.end(); it++)
delete (*it).second;
thread_map.clear();
for (it = thread_map.begin(); it != thread_map.end(); it++)
delete (*it).second;
thread_map.clear();