]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/routing/EmptyZone.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
migrate wake_all_waiting_actors from simix::Global to kernel::EngineImpl
[simgrid.git] / src / kernel / routing / EmptyZone.cpp
index ea7037145f2750349ec9b9e9425ab796a9770bb2..e33e1aff3e21ea300b907fdecf365c1e965297b6 100644 (file)
@@ -22,4 +22,12 @@ void EmptyZone::get_graph(const s_xbt_graph_t* /*graph*/, std::map<std::string,
 }
 } // namespace routing
 } // namespace kernel
+
+namespace s4u {
+NetZone* create_empty_zone(const std::string& name)
+{
+  return (new kernel::routing::EmptyZone(name))->get_iface();
+}
+} // namespace s4u
+
 } // namespace simgrid