Move destroy to the .cpp

This commit is contained in:
Vinnie Falco committed 2013-08-18 13:09:09 -07:00
1 parent 34dfcee2e8
commit 918950ba49
2 files changed
+8 -4

No files matched your search

@@ -280,6 +280,13 @@ void HandlerCall::operator() (error_code const& ec, std::size_t bytes_transferre
//
//------------------------------------------------------------------------------
void ContainerDeletePolicy <HandlerCall::Call>::destroy (HandlerCall::Call* call)
{
call->destroy ();
}
//------------------------------------------------------------------------------
void* asio_handler_allocate (std::size_t size, HandlerCall* call)
{
// Always go through the call's context.
@@ -964,10 +964,7 @@ struct ContainerDeletePolicy <HandlerCall::Call>
// SharedObjectPtr will use this when
// the reference count drops to zero.
//
static void destroy (HandlerCall::Call* call)
{
call->destroy ();
}
static void destroy (HandlerCall::Call* call);
};
template <class Function>