summaryrefslogtreecommitdiff
path: root/ace/Token_Invariants.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-07 01:27:55 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-07 01:27:55 +0000
commitee3111d36f30b563e5bbf690b0f0fd0f89ae0629 (patch)
tree6ca229e5571c8f5b18153841e6350dc94c27f547 /ace/Token_Invariants.h
parent7b307de9bdb49be9c7b9eca1dcafce19c1975ae5 (diff)
downloadATCD-ee3111d36f30b563e5bbf690b0f0fd0f89ae0629.tar.gz
base on ACE_Cleanup, so that simpler ACE_Object_Manager::at_exit () can be used
Diffstat (limited to 'ace/Token_Invariants.h')
-rw-r--r--ace/Token_Invariants.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ace/Token_Invariants.h b/ace/Token_Invariants.h
index b21f49a3725..f60947f9a30 100644
--- a/ace/Token_Invariants.h
+++ b/ace/Token_Invariants.h
@@ -104,7 +104,7 @@ private:
// Number of owning readers.
};
-class ACE_Export ACE_Token_Invariant_Manager
+class ACE_Export ACE_Token_Invariant_Manager : public ACE_Cleanup
// = TITLE
// Token Invariants
//
@@ -122,9 +122,6 @@ public:
static ACE_Token_Invariant_Manager *instance (void);
// Singleton access point.
- static void cleanup (void *instance, void *);
- // Cleanup method, used by ACE_Object_Manager to destroy the singleton.
-
// = Polymorphic methods. Just pass in the proxy and the method
// figures out the type of the token.
@@ -164,7 +161,7 @@ public:
ACE_Token_Invariant_Manager (void);
// Prevent non-singleton construction.
- ~ACE_Token_Invariant_Manager (void);
+ virtual ~ACE_Token_Invariant_Manager (void);
// Destruction.
protected: