X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7b6d9a992f6c0c59eff98ba72868b5b9b93afa38..a79a8e1cab86ccc687cfbc97b01b735acb996f16:/include/xbt/memory.hpp diff --git a/include/xbt/memory.hpp b/include/xbt/memory.hpp index ac71407975..3673943d4e 100644 --- a/include/xbt/memory.hpp +++ b/include/xbt/memory.hpp @@ -12,22 +12,6 @@ namespace simgrid { namespace xbt { -/** Delete operator which call a `destroy()` free function */ -template -struct destroy_delete { - void operator()(T* t) const - { - destroy(t); - } -}; - -/** A `unique_ptr` which works for SimGrid C types (dynar, swag, automaton, etc.) - * - * It uses an overloaded `destroy()` function to delete the object. - */ -template -using unique_ptr = std::unique_ptr >; - } }