summaryrefslogtreecommitdiff
path: root/ace/Parse_Node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Parse_Node.cpp')
-rw-r--r--ace/Parse_Node.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/ace/Parse_Node.cpp b/ace/Parse_Node.cpp
index 3cf9be2ef12..3e364b275a7 100644
--- a/ace/Parse_Node.cpp
+++ b/ace/Parse_Node.cpp
@@ -339,11 +339,10 @@ ACE_Location_Node::~ACE_Location_Node (void)
ACE_TRACE ("ACE_Location_Node::~ACE_Location_Node");
}
-ACE_SHLIB_HANDLE
-ACE_Location_Node::handle (void)
+const ACE_DLL &
+ACE_Location_Node::dll (void)
{
- ACE_TRACE ("ACE_Location_Node::handle");
- return this->dll_.get_handle (1); // Caller now owns the handle
+ return this->dll_;
}
const ACE_TCHAR *
@@ -405,7 +404,7 @@ ACE_Object_Node::dump (void) const
ACE_Object_Node::ACE_Object_Node (const ACE_TCHAR *path,
const ACE_TCHAR *obj_name)
- : object_name_ (obj_name ? ACE_Lib_Find::ldname (obj_name) : 0)
+ : object_name_ (ACE::strnew (obj_name))
{
ACE_TRACE ("ACE_Object_Node::ACE_Object_Node");
this->pathname (ACE::strnew (path));
@@ -455,7 +454,7 @@ ACE_Function_Node::dump (void) const
ACE_Function_Node::ACE_Function_Node (const ACE_TCHAR *path,
const ACE_TCHAR *func_name)
- : function_name_ (func_name ? ACE_Lib_Find::ldname (func_name) : 0)
+ : function_name_ (ACE::strnew (func_name))
{
ACE_TRACE ("ACE_Function_Node::ACE_Function_Node");
this->pathname (ACE::strnew (path));