diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-11-27 21:04:44 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-11-27 21:04:44 +0000 |
commit | a82053f0bc25da2d4a1c67308de42ea17f62ecf5 (patch) | |
tree | e2dd946c287abdfcd10516de195b143dd8116d9c /examples/DLL | |
parent | 84eb9cf9dc84cb52501adf25e7298fdc18b51a7e (diff) | |
download | ATCD-a82053f0bc25da2d4a1c67308de42ea17f62ecf5.tar.gz |
.
Diffstat (limited to 'examples/DLL')
-rw-r--r-- | examples/DLL/test_dll.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/DLL/test_dll.cpp b/examples/DLL/test_dll.cpp index a4614f010c2..fccd8bdb6f3 100644 --- a/examples/DLL/test_dll.cpp +++ b/examples/DLL/test_dll.cpp @@ -33,14 +33,9 @@ main (void) dll.error ()), -1); { - //*done* cool. i realise what you did. You have added a scope that - // the auto_ptr deletes the magazine object. - // Kirthika, can you please use an auto_ptr here. - auto_ptr <Magazine> magazine = mc (); magazine->title (); - } dll.close (); @@ -56,6 +51,7 @@ main (void) -1); mc = (Magazine_Creator) dll.symbol ("create_magazine"); + if (mc == 0) ACE_ERROR_RETURN ((LM_ERROR, "%s", |