Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
more simplifications
authorSUTER Frederic <frederic.suter@cc.in2p3.fr>
Fri, 2 Apr 2021 16:18:09 +0000 (18:18 +0200)
committerSUTER Frederic <frederic.suter@cc.in2p3.fr>
Fri, 2 Apr 2021 21:38:58 +0000 (23:38 +0200)
src/surf/network_constant.cpp
src/surf/network_constant.hpp

index 65098c7..9394505 100644 (file)
@@ -87,8 +87,6 @@ NetworkConstantAction::NetworkConstantAction(NetworkConstantModel* model_, s4u::
     NetworkConstantAction::set_state(Action::State::FINISHED);
 }
 
-NetworkConstantAction::~NetworkConstantAction() = default;
-
 void NetworkConstantAction::update_remains_lazy(double /*now*/)
 {
   THROW_IMPOSSIBLE;
index 1dfb40a..fefadd8 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef NETWORK_CONSTANT_HPP_
 #define NETWORK_CONSTANT_HPP_
 
-#include <xbt/base.h>
-
 #include "network_interface.hpp"
 
 namespace simgrid {
@@ -28,7 +26,6 @@ public:
 class NetworkConstantAction : public NetworkAction {
 public:
   NetworkConstantAction(NetworkConstantModel* model_, s4u::Host& src, s4u::Host& dst, double size);
-  ~NetworkConstantAction() override;
   void update_remains_lazy(double now) override;
 };