summaryrefslogtreecommitdiff
path: root/tests/Process_Strategy_Test.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-08-14 02:40:31 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-08-14 02:40:31 +0000
commit7c700763848359566990309f4d134fbf2be2c992 (patch)
tree88ef056cb1e6017d187a2ba605a209ab5a54dad7 /tests/Process_Strategy_Test.h
parent6ab51aaa2d12b0cec4df6efd2b76d17502df657e (diff)
downloadATCD-7c700763848359566990309f4d134fbf2be2c992.tar.gz
(~Process_Strategy): added an explicit destructor.
Diffstat (limited to 'tests/Process_Strategy_Test.h')
-rw-r--r--tests/Process_Strategy_Test.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/Process_Strategy_Test.h b/tests/Process_Strategy_Test.h
index 7f8c9dcfcf7..7731eb014df 100644
--- a/tests/Process_Strategy_Test.h
+++ b/tests/Process_Strategy_Test.h
@@ -12,7 +12,7 @@
//
// = AUTHOR
// Doug Schmidt and Kevin Boyle <kboyle@sanwafp.com>
-//
+//
// ============================================================================
#if !defined (PROCESS_STRATEGY_TEST_H)
@@ -25,7 +25,7 @@
// Forward decl.
class ACE_Thread_Manager;
-class Counting_Service : public ACE_Svc_Handler <ACE_SOCK_STREAM, ACE_NULL_SYNCH>
+class Counting_Service : public ACE_Svc_Handler <ACE_SOCK_STREAM, ACE_NULL_SYNCH>
// = TITLE
// Reads and increments the count in a shared file.
//
@@ -75,10 +75,13 @@ public:
ACE_Reactor * = 0,
int flags = 0);
+ // Destructor
+ ~Process_Strategy (void);
+
// Overwrite the process creation method to include connection
// counting
virtual int activate_svc_handler (Counting_Service *svc_handler,
- void *arg = 0);
+ void *arg = 0);
};
class Options : public ACE_Event_Handler