X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a059f6ed850a1d54f10c62e7bd001cc6ebf788ec..76c70a751b2ef94044ccb57c6c9cff83e0aec728:/include/simgrid/s4u/Link.hpp
diff --git a/include/simgrid/s4u/Link.hpp b/include/simgrid/s4u/Link.hpp
index d95a753bc0..e1832a8b22 100644
--- a/include/simgrid/s4u/Link.hpp
+++ b/include/simgrid/s4u/Link.hpp
@@ -29,12 +29,9 @@ class XBT_PUBLIC Link : public simgrid::xbt::Extendable {
// The private implementation, that never changes
kernel::resource::LinkImpl* const pimpl_;
- bool currentlyDestroying_ = false;
-
public:
enum class SharingPolicy { SPLITDUPLEX = 2, SHARED = 1, FATPIPE = 0 };
- virtual void destroy();
kernel::resource::LinkImpl* get_impl() { return pimpl_; }
/** @brief Retrieve a link from its name */
@@ -97,7 +94,6 @@ public:
static simgrid::xbt::signal on_communication_state_change;
// Deprecated methods
- XBT_ATTRIB_DEPRECATED_v321("Use get_cname(): v3.21 will turn this warning into an error.") const char* name();
XBT_ATTRIB_DEPRECATED_v323("Please use Link::by_name()") static Link* byName(const char* name) { return by_name(name); }
XBT_ATTRIB_DEPRECATED_v323("Please use Link::get_name()") const std::string& getName() const { return get_name(); }
XBT_ATTRIB_DEPRECATED_v323("Please use Link::get_cname()") const char* getCname() const { return get_cname(); }