From b6f347a1cfadc66e56e729c56c853b855a701c13 Mon Sep 17 00:00:00 2001 From: levine Date: Wed, 15 Oct 1997 16:40:35 +0000 Subject: removed unused Employee ostream << operator --- examples/Shared_Malloc/test_persistence.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'examples') diff --git a/examples/Shared_Malloc/test_persistence.cpp b/examples/Shared_Malloc/test_persistence.cpp index a1fe7a64f18..60a80954d55 100644 --- a/examples/Shared_Malloc/test_persistence.cpp +++ b/examples/Shared_Malloc/test_persistence.cpp @@ -4,10 +4,6 @@ #include "ace/Malloc.h" -#if defined (ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION) -# include /**/ -#endif /* ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION */ - typedef ACE_Malloc MALLOC; typedef ACE_Malloc_Iterator MALLOC_ITERATOR; @@ -44,16 +40,6 @@ public: void id (u_long id) { id_ = id; } - friend ostream &operator<<(ostream &stream, const Employee &employee) - { - stream << endl; - stream << "Employee name: " << employee.name() << endl; - stream << "Employee id: " << employee.id() << endl; - stream << endl; - - return stream; - } - void *operator new (size_t) { return shmem_manager->malloc (sizeof (Employee)); -- cgit v1.2.1