Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a missing independence theorem about Mutex
[simgrid.git] / include / xbt / Extendable.hpp
index 8dbc3ab3d9d509b5ba4d6ba4f87e87ab6ecac8b6..54adb3e65d5677ccb3c86b7b9a02d8d9d9f4d6fe 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef SIMGRID_XBT_LIB_HPP
 #define SIMGRID_XBT_LIB_HPP
 
 #ifndef SIMGRID_XBT_LIB_HPP
 #define SIMGRID_XBT_LIB_HPP
 
-#include "xbt/base.h" // XBT_ATTRIB_DEPRECATED_v334
 #include <cstddef>
 #include <functional>
 #include <limits>
 #include <cstddef>
 #include <functional>
 #include <limits>
@@ -112,10 +111,6 @@ public:
   template <typename D> D* get_data() const { return static_cast<D*>(extensions_[0]); }
   template <typename D> std::unique_ptr<D> get_unique_data() { return std::unique_ptr<D>(get_data<D>()); }
 
   template <typename D> D* get_data() const { return static_cast<D*>(extensions_[0]); }
   template <typename D> std::unique_ptr<D> get_unique_data() { return std::unique_ptr<D>(get_data<D>()); }
 
-  XBT_ATTRIB_DEPRECATED_v334("Please use typed template Extendable::get_data<>()") void* get_data() const
-  {
-    return get_data<void>();
-  }
   // Convenience extension access when the type has an associated EXTENSION ID:
   template <class U> U* extension() const { return extension<U>(U::EXTENSION_ID); }
   template<class U> void extension_set(U* p) { extension_set<U>(U::EXTENSION_ID, p); }
   // Convenience extension access when the type has an associated EXTENSION ID:
   template <class U> U* extension() const { return extension<U>(U::EXTENSION_ID); }
   template<class U> void extension_set(U* p) { extension_set<U>(U::EXTENSION_ID, p); }