summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rdbmaker/inc/codemaker/registry.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/rdbmaker/inc/codemaker/registry.hxx b/rdbmaker/inc/codemaker/registry.hxx
index f3fd35e1e988..622122cb2f1a 100644
--- a/rdbmaker/inc/codemaker/registry.hxx
+++ b/rdbmaker/inc/codemaker/registry.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: registry.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 05:03:13 $
+ * last change: $Author: hr $ $Date: 2007-07-31 14:01:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -120,6 +120,11 @@ public:
acquire();
}
+ inline ~TypeReader()
+ {
+ release();
+ }
+
inline void acquire()
{
if (m_pImpl)