summaryrefslogtreecommitdiff
path: root/examples/Shared_Malloc/Malloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Shared_Malloc/Malloc.cpp')
-rw-r--r--examples/Shared_Malloc/Malloc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/Shared_Malloc/Malloc.cpp b/examples/Shared_Malloc/Malloc.cpp
index 89542569147..0da94c9c0a6 100644
--- a/examples/Shared_Malloc/Malloc.cpp
+++ b/examples/Shared_Malloc/Malloc.cpp
@@ -55,6 +55,7 @@ Malloc::instance (void)
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class ACE_Allocator_Adapter<L_ALLOCATOR>;
template class ACE_Allocator_Adapter<M_ALLOCATOR>;
#if !defined (ACE_LACKS_SBRK)
template class ACE_Allocator_Adapter<SB_ALLOCATOR>;
@@ -65,7 +66,9 @@ template class ACE_Malloc_T <ACE_SBRK_MEMORY_POOL, ACE_SYNCH_MUTEX, ACE_Control_
template class ACE_Allocator_Adapter<SP_ALLOCATOR>;
#endif /* ! ACE_LACKS_SYSV_SHMEM */
template class ACE_Allocator_Adapter<ST_ALLOCATOR>;
+template class ACE_Malloc <ACE_LOCAL_MEMORY_POOL, ACE_SYNCH_MUTEX>;
template class ACE_Malloc <ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex>;
+template class ACE_Malloc_T <ACE_LOCAL_MEMORY_POOL, ACE_SYNCH_MUTEX, ACE_Control_Block>;
template class ACE_Malloc_T <ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex, ACE_Control_Block>;
template class ACE_Read_Guard<ACE_Process_Mutex>;
template class ACE_Write_Guard<ACE_Process_Mutex>;