summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-15 16:40:35 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-15 16:40:35 +0000
commit6309d47c3ef530a6097baa1ba4da1c8a5b0879f4 (patch)
tree43680871354dd99d6bdb7ad8cbe4cdae22b0cabb
parent1f0953a612b82b15589b09afd25f447dea0a8e76 (diff)
downloadATCD-6309d47c3ef530a6097baa1ba4da1c8a5b0879f4.tar.gz
removed unused Employee ostream << operator
-rw-r--r--examples/Shared_Malloc/test_persistence.cpp14
1 files changed, 0 insertions, 14 deletions
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 /**/ <iostream.h>
-#endif /* ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION */
-
typedef ACE_Malloc <ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> MALLOC;
typedef ACE_Malloc_Iterator <ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> 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));