A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to correct error tests
[simgrid.git]
/
src
/
kernel
/
EngineImpl.cpp
diff --git
a/src/kernel/EngineImpl.cpp
b/src/kernel/EngineImpl.cpp
index 552b4b0de6e47bc4f85b8b9101d74dc1b974e026..3375539c532b13ec873fc10b1974ce6516f0ba9c 100644
(file)
--- a/
src/kernel/EngineImpl.cpp
+++ b/
src/kernel/EngineImpl.cpp
@@
-4,18
+4,19
@@
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "src/kernel/EngineImpl.hpp"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "src/kernel/EngineImpl.hpp"
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetPoint.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
#include <simgrid/s4u/host.hpp>
namespace simgrid {
namespace kernel {
#include <simgrid/s4u/host.hpp>
namespace simgrid {
namespace kernel {
-EngineImpl::EngineImpl()
-{
-}
+EngineImpl::EngineImpl() = default;
EngineImpl::~EngineImpl()
{
EngineImpl::~EngineImpl()
{
- delete rootAs_;
+ delete netRoot_;
+ for (auto kv : netpoints_)
+ delete kv.second;
}
}
}
}
}
}