mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 08:06:23 +00:00
chore(Deps/Acelite): Update to 6.5.10 (#3450)
This commit is contained in:
10
deps/acelite/ace/Cleanup.cpp
vendored
10
deps/acelite/ace/Cleanup.cpp
vendored
@@ -8,6 +8,10 @@
|
||||
#include "ace/OS_NS_string.h"
|
||||
#include "ace/os_include/os_typeinfo.h"
|
||||
|
||||
#if defined (ACE_HAS_ALLOC_HOOKS)
|
||||
# include "ace/Malloc_Base.h"
|
||||
#endif /* ACE_HAS_ALLOC_HOOKS */
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
void
|
||||
@@ -52,9 +56,15 @@ ACE_Cleanup_Info_Node::ACE_Cleanup_Info_Node (void *object,
|
||||
ACE_Cleanup_Info_Node::~ACE_Cleanup_Info_Node (void)
|
||||
{
|
||||
if (this->name_)
|
||||
#if defined (ACE_HAS_ALLOC_HOOKS)
|
||||
ACE_Allocator::instance()->free ((void *) name_);
|
||||
#else
|
||||
ACE_OS::free ((void *) name_);
|
||||
#endif /* ACE_HAS_ALLOC_HOOKS */
|
||||
}
|
||||
|
||||
ACE_ALLOC_HOOK_DEFINE(ACE_Cleanup_Info_Node)
|
||||
|
||||
bool
|
||||
ACE_Cleanup_Info_Node::operator== (const ACE_Cleanup_Info_Node &o) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user