X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/528627ed38411e15afbcbb6ab426e83c25d9e492..bf41d7b09bccdac18be3631c03256f2a34bdb202:/include/simgrid/kernel/routing/NetPoint.hpp diff --git a/include/simgrid/kernel/routing/NetPoint.hpp b/include/simgrid/kernel/routing/NetPoint.hpp index 847c4e49a6..fd2694753e 100644 --- a/include/simgrid/kernel/routing/NetPoint.hpp +++ b/include/simgrid/kernel/routing/NetPoint.hpp @@ -36,9 +36,9 @@ public: /** @brief the NetZone in which this NetPoint is included */ NetZoneImpl* netzone() { return netzone_; } - bool isNetZone() { return componentType_ == Type::NetZone; } - bool isHost() { return componentType_ == Type::Host; } - bool isRouter() { return componentType_ == Type::Router; } + bool isNetZone() { return component_type_ == Type::NetZone; } + bool isHost() { return component_type_ == Type::Host; } + bool isRouter() { return component_type_ == Type::Router; } static simgrid::xbt::signal onCreation; @@ -47,7 +47,7 @@ public: private: unsigned int id_; std::string name_; - NetPoint::Type componentType_; + NetPoint::Type component_type_; NetZoneImpl* netzone_; }; } // namespace routing