-/* Copyright (c) 2004-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2004-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. */
s4u::Link::SharingPolicy sharing_policy_;
void apply_event(profile::Event* event, double value) override;
- void set_bandwidth(double value) override { THROW_UNIMPLEMENTED; }
- void set_latency(double value) override { THROW_UNIMPLEMENTED; }
+ void set_bandwidth(double) override { THROW_UNIMPLEMENTED; }
+ void set_latency(double) override { THROW_UNIMPLEMENTED; }
void set_bandwidth_profile(profile::Profile* profile) override;
void set_latency_profile(profile::Profile* profile) override;
- s4u::Link::SharingPolicy get_sharing_policy() override {return sharing_policy_;}
+ s4u::Link::SharingPolicy get_sharing_policy() const override { return sharing_policy_; }
};
/**********