summaryrefslogtreecommitdiff
path: root/ACE/ace/Malloc_T.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-09-17 07:20:41 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-09-17 07:20:41 +0000
commitb00b55ca8340ab5b3703bb16b1b8de2d2894aa54 (patch)
tree7413b78750b96dafd4463a0756abbb827ef05eb6 /ACE/ace/Malloc_T.h
parentcf2f41e1f9029d711ead44947ff1743579c9f1b3 (diff)
downloadATCD-b00b55ca8340ab5b3703bb16b1b8de2d2894aa54.tar.gz
Fri Sep 17 07:16:16 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Log_Msg.h: * ace/OS_Errno.cpp: Layout changes * ace/Malloc_T.h: * ace/Malloc_T.cpp: * ace/Map_Manager.inl: * ace/Map_Manager.cpp: Moved some methods inline * ace/OS_NS_signal.cpp: Fixed problem with versioned macros
Diffstat (limited to 'ACE/ace/Malloc_T.h')
-rw-r--r--ACE/ace/Malloc_T.h22
1 files changed, 4 insertions, 18 deletions
diff --git a/ACE/ace/Malloc_T.h b/ACE/ace/Malloc_T.h
index 6089fbbf0e5..468baaffa5b 100644
--- a/ACE/ace/Malloc_T.h
+++ b/ACE/ace/Malloc_T.h
@@ -226,17 +226,10 @@ public:
* Note that @a pool_name should be located in
* a directory with the appropriate visibility and protection so
* that all processes that need to access it can do so.
- * This constructor must be inline to avoid bugs with some C++
- * compilers. */
+ */
ACE_Allocator_Adapter (const char *pool_name,
const char *lock_name,
- MEMORY_POOL_OPTIONS options = 0)
- : allocator_ (ACE_TEXT_CHAR_TO_TCHAR (pool_name),
- ACE_TEXT_CHAR_TO_TCHAR (lock_name),
- options)
- {
- ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::ACE_Allocator_Adapter");
- }
+ MEMORY_POOL_OPTIONS options = 0);
#if defined (ACE_HAS_WCHAR)
/**
@@ -249,17 +242,10 @@ public:
* Note that @a pool_name should be located in
* a directory with the appropriate visibility and protection so
* that all processes that need to access it can do so.
- * This constructor must be inline to avoid bugs with some C++
- * compilers. */
+ */
ACE_Allocator_Adapter (const wchar_t *pool_name,
const wchar_t *lock_name,
- MEMORY_POOL_OPTIONS options = 0)
- : allocator_ (ACE_TEXT_WCHAR_TO_TCHAR (pool_name),
- ACE_TEXT_WCHAR_TO_TCHAR (lock_name),
- options)
- {
- ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::ACE_Allocator_Adapter");
- }
+ MEMORY_POOL_OPTIONS options = 0);
#endif /* ACE_HAS_WCHAR */
/// Destructor.