summaryrefslogtreecommitdiff
path: root/ace/Synch_T.cpp
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-10-28 19:15:14 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-10-28 19:15:14 +0000
commit9738b1ad41774bd4d5086322d48793238c8694a7 (patch)
tree7aaaac48d29dabf36c646d4830cdba22e97a7e13 /ace/Synch_T.cpp
parentaf4cd25a55a9c357b2c04823663bc93e70c0b657 (diff)
downloadATCD-9738b1ad41774bd4d5086322d48793238c8694a7.tar.gz
ChangeLogTag: Sun Oct 28 13:15:00 2001 Michael Kircher <Michael.Kircher@mchp.siemens.de>
Diffstat (limited to 'ace/Synch_T.cpp')
-rw-r--r--ace/Synch_T.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/Synch_T.cpp b/ace/Synch_T.cpp
index fed6d3dfd0a..1abcca4a6db 100644
--- a/ace/Synch_T.cpp
+++ b/ace/Synch_T.cpp
@@ -300,7 +300,11 @@ ACE_TSS<TYPE>::operator TYPE *(void) const
template <class TYPE> TYPE *
ACE_TSS<TYPE>::make_TSS_TYPE (void) const
{
- return new TYPE;
+ TYPE *temp = 0;
+ ACE_NEW_RETURN (temp,
+ TYPE,
+ 0);
+ return temp;
}
template <class TYPE> void