memory: rename object_deleter to owner_deleter
This commit is contained in:
parent
99d025af4d
commit
00f6f614be
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "./deleter.hpp"
|
#include "./deleter.hpp"
|
||||||
|
|
||||||
using util::memory::object_deleter;
|
using util::memory::owner_deleter;
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
@ -29,4 +29,4 @@ class owner {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
template class util::memory::object_deleter<void,owner,&owner::dealloc>;
|
template class util::memory::owner_deleter<void,owner,&owner::dealloc>;
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
|
|
||||||
namespace util { namespace memory {
|
namespace util { namespace memory {
|
||||||
template <typename T, typename U, void (U::*F)(T*)>
|
template <typename T, typename U, void (U::*F)(T*)>
|
||||||
class object_deleter {
|
class owner_deleter {
|
||||||
public:
|
public:
|
||||||
object_deleter (U &owner):
|
owner_deleter (U &owner):
|
||||||
m_owner (owner)
|
m_owner (owner)
|
||||||
{ ; }
|
{ ; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user