Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix debug message better [ci-skip]
[simgrid.git] / src / kernel / routing / EmptyZone.cpp
index 229caf0..256bc97 100644 (file)
@@ -18,13 +18,13 @@ namespace routing {
 void EmptyZone::get_graph(const s_xbt_graph_t* /*graph*/, std::map<std::string, xbt_node_t, std::less<>>* /*nodes*/,
                           std::map<std::string, xbt_edge_t, std::less<>>* /*edges*/)
 {
-  XBT_ERROR("No routing no graph");
+  xbt_die("No routing no graph");
 }
 } // namespace routing
 } // namespace kernel
 
 namespace s4u {
-NetZone* createEmptyZone(const std::string& name)
+NetZone* create_empty_zone(const std::string& name)
 {
   return (new kernel::routing::EmptyZone(name))->get_iface();
 }