mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 06:06:23 +00:00
chore(Deps/Acelite): Update to 6.5.10 (#3450)
This commit is contained in:
8
deps/acelite/ace/Remote_Name_Space.cpp
vendored
8
deps/acelite/ace/Remote_Name_Space.cpp
vendored
@@ -108,9 +108,15 @@ ACE_Remote_Name_Space::resolve (const ACE_NS_WString &name,
|
||||
|
||||
ACE_NS_WString temp (reply.value (), reply.value_len () / sizeof (ACE_WCHAR_T));
|
||||
value = temp;
|
||||
#if defined (ACE_HAS_ALLOC_HOOKS)
|
||||
ACE_ALLOCATOR_RETURN (type,
|
||||
static_cast<char*>(ACE_Allocator::instance()->malloc(sizeof(char) * (reply.type_len () + 1))),
|
||||
-1);
|
||||
#else
|
||||
ACE_NEW_RETURN (type,
|
||||
char[reply.type_len () + 1],
|
||||
-1);
|
||||
#endif /* ACE_HAS_ALLOC_HOOKS */
|
||||
ACE_OS::strcpy (type, reply.type ());
|
||||
return 0;
|
||||
}
|
||||
@@ -361,6 +367,8 @@ ACE_Remote_Name_Space::~ACE_Remote_Name_Space (void)
|
||||
ACE_TRACE ("ACE_Remote_Name_Space::~ACE_Remote_Name_Space");
|
||||
}
|
||||
|
||||
ACE_ALLOC_HOOK_DEFINE(ACE_Remote_Name_Space)
|
||||
|
||||
void
|
||||
ACE_Remote_Name_Space::dump (void) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user