memory: rename object_deleter to owner_deleter

This commit is contained in:
Danny Robson 2015-11-19 16:46:19 +11:00
parent 99d025af4d
commit 00f6f614be
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@
#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>;

View File

@ -19,9 +19,9 @@
namespace util { namespace memory {
template <typename T, typename U, void (U::*F)(T*)>
class object_deleter {
class owner_deleter {
public:
object_deleter (U &owner):
owner_deleter (U &owner):
m_owner (owner)
{ ; }