X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6de03ecc4e630732984a0673512a5d15fd75e270..4f6578bb22ea8413ac5e5cc6fe902ab2c925c577:/src/surf/network_smpi.hpp diff --git a/src/surf/network_smpi.hpp b/src/surf/network_smpi.hpp index a27ef04fb9..a8dd24c601 100644 --- a/src/surf/network_smpi.hpp +++ b/src/surf/network_smpi.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014. The SimGrid Team. +/* Copyright (c) 2013-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -11,7 +11,6 @@ ***********/ class NetworkSmpiModel; -typedef NetworkSmpiModel *NetworkSmpiModelPtr; /********* * Tools * @@ -26,8 +25,9 @@ public: NetworkSmpiModel(); ~NetworkSmpiModel(); - void gapAppend(double size, const NetworkLinkPtr link, NetworkActionPtr action); - void gapRemove(ActionPtr action); + using NetworkModel::gapAppend; // Explicit about overloaded method (silence Woverloaded-virtual from clang) + void gapAppend(double size, Link* link, NetworkAction *action); + void gapRemove(Action *action); double latencyFactor(double size); double bandwidthFactor(double size); double bandwidthConstraint(double rate, double bound, double size);