diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-15 16:40:35 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-15 16:40:35 +0000 |
commit | b6f347a1cfadc66e56e729c56c853b855a701c13 (patch) | |
tree | 43680871354dd99d6bdb7ad8cbe4cdae22b0cabb /examples | |
parent | c8d32f157b08ef3bc56914a262691c241f50813d (diff) | |
download | ATCD-b6f347a1cfadc66e56e729c56c853b855a701c13.tar.gz |
removed unused Employee ostream << operator
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Shared_Malloc/test_persistence.cpp | 14 |
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)); |