diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-09-13 17:54:54 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-09-13 17:54:54 +0000 |
commit | 7b49486ca1fff4f5e2bb05ed45f2ace7e69e32d7 (patch) | |
tree | 4a1155527523d74b1b94b28d41fe9cda7e85e91d /ace/Strategies_T.cpp | |
parent | 6b4e3ef7ccefb4f81e766a00d8cf4c8b5aaf09fb (diff) | |
download | ATCD-7b49486ca1fff4f5e2bb05ed45f2ace7e69e32d7.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Strategies_T.cpp')
-rw-r--r-- | ace/Strategies_T.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ace/Strategies_T.cpp b/ace/Strategies_T.cpp index ccca4fb1266..963813cef7a 100644 --- a/ace/Strategies_T.cpp +++ b/ace/Strategies_T.cpp @@ -150,12 +150,14 @@ template <class SVC_HANDLER> int ACE_DLL_Strategy<SVC_HANDLER>::make_svc_handler (SVC_HANDLER *&sh) { ACE_TRACE ("ACE_DLL_Strategy<SVC_HANDLER>::make_svc_handler"); + // Open the shared library. ACE_SHLIB_HANDLE handle = ACE_OS::dlopen (this->shared_library_); // Extract the factory function. - SVC_HANDLER *(*factory)(void) = (SVC_HANDLER *(*)(void)) ACE_OS::dlsym - (handle, this->factory_function_); + SVC_HANDLER *(*factory)(void) = + (SVC_HANDLER *(*)(void)) ACE_OS::dlsym (handle, + this->factory_function_); // Call the factory function to obtain the new SVC_Handler (should // use RTTI here when it becomes available...) @@ -168,7 +170,7 @@ ACE_DLL_Strategy<SVC_HANDLER>::make_svc_handler (SVC_HANDLER *&sh) // Create an ACE_Service_Type containing the SVC_Handler and // insert into this->svc_rep_; - ACE_Service_Type_Impl stp = + ACE_Service_Type_Impl *stp = new ACE_Service_Object_Type (svc_handler, this->svc_name_); if (stp == 0) |