X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aa1e6cc790aa637bae2c2fd03e3cf2c5365ae478..3b3874b095c1a645006649b8a7445f81d816f01d:/src/surf/network_interface.hpp diff --git a/src/surf/network_interface.hpp b/src/surf/network_interface.hpp index 7c6d824847..087dadf75c 100644 --- a/src/surf/network_interface.hpp +++ b/src/surf/network_interface.hpp @@ -200,8 +200,8 @@ public: double lat_current_ = {}; double sharing_penalty_ = {}; double rate_ = {}; - s4u::Host& get_src() { return src_; } - s4u::Host& get_dst() { return dst_; } + s4u::Host& get_src() const { return src_; } + s4u::Host& get_dst() const { return dst_; } }; } // namespace resource } // namespace kernel