diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-19 19:48:58 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-19 19:48:58 +0000 |
commit | be304ba8c7698360c39b0b22008693df388cc29f (patch) | |
tree | 2182e7fd224469c52fe672b5a574e209a53e0e84 /examples | |
parent | 2d4e73cd45c0de310a3f975d3a5afdefdedde02e (diff) | |
download | ATCD-be304ba8c7698360c39b0b22008693df388cc29f.tar.gz |
Mon Apr 19 14:35:42 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/IPC_SAP/UPIPE_SAP/ex2.cpp | 2 | ||||
-rw-r--r-- | examples/IPC_SAP/UPIPE_SAP/ex3.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/IPC_SAP/UPIPE_SAP/ex2.cpp b/examples/IPC_SAP/UPIPE_SAP/ex2.cpp index fab7ed0a85c..cbdb90dcfc4 100644 --- a/examples/IPC_SAP/UPIPE_SAP/ex2.cpp +++ b/examples/IPC_SAP/UPIPE_SAP/ex2.cpp @@ -36,7 +36,7 @@ supplier (void *) ACE_UPIPE_Addr c_addr ("pattern"); - ACE_Auto_Basic_Array_Ptr <char> mybuf = new char[size]; + ACE_Auto_Basic_Array_Ptr<char> mybuf (new char[size]); for (int i = 0; i < size; i++) mybuf[i] = 'a'; diff --git a/examples/IPC_SAP/UPIPE_SAP/ex3.cpp b/examples/IPC_SAP/UPIPE_SAP/ex3.cpp index 15b2cd70347..7e99e46466b 100644 --- a/examples/IPC_SAP/UPIPE_SAP/ex3.cpp +++ b/examples/IPC_SAP/UPIPE_SAP/ex3.cpp @@ -46,7 +46,7 @@ supplier (void *) "(%t) %p\n", "ACE_UPIPE_Acceptor.connect failed")); - ACE_Auto_Basic_Array_Ptr <char> mybuf = new char[size]; + ACE_Auto_Basic_Array_Ptr<char> mybuf (new char[size]); for (int i = 0; i < size; i++) mybuf[i] = 'a'; @@ -95,7 +95,7 @@ consumer (void *) "ACE_UPIPE_Acceptor.accept failed")); // Ensure deletion upon exit. - ACE_Auto_Basic_Array_Ptr <char> mybuf = new char[size]; + ACE_Auto_Basic_Array_Ptr<char> mybuf (new char[size]); time_t currsec; ACE_OS::time (&currsec); |