Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Pointer-to-const.
[simgrid.git] / src / kernel / routing / EmptyZone.cpp
index ea70371..e33e1af 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