Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rewrite the energy plugin using the extension mechanism
[simgrid.git] / include / xbt / Extendable.hpp
index 81e7150..fd4f59a 100644 (file)
@@ -111,6 +111,7 @@ public:
     extension_set(rank.id(), value, use_dtor);
   }
 
+public:
   // Convenience extension access when the type has a associated EXTENSION ID:
   template<class U> U* extension()           { return extension<U>(U::EXTENSION_ID); }
   template<class U> void extension_set(U* p) { extension_set<U>(U::EXTENSION_ID, p); }