diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2003-07-25 22:16:58 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2003-07-25 22:16:58 +0000 |
commit | dfca182cc9864bc6e49a0af8fc3394e8fceddf26 (patch) | |
tree | 2b6ea761ab2e318d906fa3af8f39f77d7d1208bd /ace | |
parent | 156776f79bb893718324b1029a3d150d001a48f9 (diff) | |
download | ATCD-dfca182cc9864bc6e49a0af8fc3394e8fceddf26.tar.gz |
ChangeLogTag:Thu Jul 24 14:23:44 2003 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Future.cpp | 19 | ||||
-rw-r--r-- | ace/Future.h | 8 |
2 files changed, 0 insertions, 27 deletions
diff --git a/ace/Future.cpp b/ace/Future.cpp index 71575687b7a..9db7c5c71f6 100644 --- a/ace/Future.cpp +++ b/ace/Future.cpp @@ -418,24 +418,5 @@ ACE_Future<T>::get_rep () return this->future_rep_; } -template <class T> void * -ACE_Future<T>::operator new (size_t) -{ - ACE_throw_bad_alloc; -#if defined (__HP_aCC) - return 0; -#endif /* 0 */ -} - -template <class T> void -ACE_Future<T>::operator delete (void *) -{ -} - -template <class T> void -ACE_Future<T>::operator & () -{ -} - #endif /* ACE_HAS_THREADS */ #endif /* ACE_FUTURE_CPP */ diff --git a/ace/Future.h b/ace/Future.h index 6b5d6e44d92..fd848116663 100644 --- a/ace/Future.h +++ b/ace/Future.h @@ -356,14 +356,6 @@ public: ACE_ALLOC_HOOK_DECLARE; private: - /// Do not allow new operator. - void *operator new (size_t nbytes); - - /// Do not allow delete operator - void operator delete (void *); - - /// Do not allow address-of operator. - void operator & (); // the ACE_Future_Rep /// Protect operations on the <Future>. |