Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / Lock_Adapter_T.inl
blobefffe4980af58430abb3dcab5e48108688207f09
1 // -*- C++ -*-
2 #include "ace/OS_Memory.h"
4 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
6 template <class ACE_LOCKING_MECHANISM>
7 ACE_INLINE
8 ACE_Lock_Adapter<ACE_LOCKING_MECHANISM>::ACE_Lock_Adapter (
9   ACE_LOCKING_MECHANISM &lock)
10   : lock_ (&lock),
11     delete_lock_ (false)
15 template <class ACE_LOCKING_MECHANISM>
16 ACE_INLINE
17 ACE_Lock_Adapter<ACE_LOCKING_MECHANISM>::ACE_Lock_Adapter ()
18   : lock_ (0),
19     delete_lock_ (true)
21   ACE_NEW (this->lock_,
22            ACE_LOCKING_MECHANISM);
25 ACE_END_VERSIONED_NAMESPACE_DECL