X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9104957deccc59e0e804215d5db498fabfd40d29..a8a4c4bccca1906085f71b407c2ac03aa0adb734:/src/surf/network_constant.hpp diff --git a/src/surf/network_constant.hpp b/src/surf/network_constant.hpp index f007fcb1e6..a5336b3f68 100644 --- a/src/surf/network_constant.hpp +++ b/src/surf/network_constant.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -27,8 +27,8 @@ public: class NetworkConstantAction : public NetworkAction { public: - NetworkConstantAction(NetworkConstantModel* model_, double size, double latency); - ~NetworkConstantAction(); + NetworkConstantAction(NetworkConstantModel* model_, s4u::Host& src, s4u::Host& dst, double size, double latency); + ~NetworkConstantAction() override; double initial_latency_; void update_remains_lazy(double now) override; };