X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7bbdf88838ab4ac0694163ff64fa8ed5344f555c..46a72a52f62a5df8976056025fbad99dc4d9cd20:/src/surf/surf_routing.hpp diff --git a/src/surf/surf_routing.hpp b/src/surf/surf_routing.hpp index e15db966df..34df3d3305 100644 --- a/src/surf/surf_routing.hpp +++ b/src/surf/surf_routing.hpp @@ -94,11 +94,10 @@ public: */ class Onelink { public: - Onelink(void *link, NetCard *src, NetCard *dst) - : src_(src), dst_(dst), link_(link) {}; + Onelink(Link* link, NetCard* src, NetCard* dst) : src_(src), dst_(dst), link_(link){}; NetCard *src_; NetCard *dst_; - void *link_; // FIXME: void* should die just like the death* + Link* link_; }; /** @ingroup SURF_routing_interface