summaryrefslogtreecommitdiff
path: root/ace/Malloc_Allocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Malloc_Allocator.cpp')
-rw-r--r--ace/Malloc_Allocator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/Malloc_Allocator.cpp b/ace/Malloc_Allocator.cpp
index 73885536cb9..79dfd969d19 100644
--- a/ace/Malloc_Allocator.cpp
+++ b/ace/Malloc_Allocator.cpp
@@ -148,6 +148,7 @@ ACE_New_Allocator::free (void *ptr)
void
ACE_Static_Allocator_Base::dump (void) const
{
+#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_Static_Allocator_Base::dump");
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
@@ -157,6 +158,7 @@ ACE_Static_Allocator_Base::dump (void) const
ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\n")));
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
+#endif /* ACE_HAS_DUMP */
}