diff options
author | Hennes Rohling <hro@openoffice.org> | 2002-10-15 12:54:14 +0000 |
---|---|---|
committer | Hennes Rohling <hro@openoffice.org> | 2002-10-15 12:54:14 +0000 |
commit | 81309966504acb1e9f3d38790d5a218aaa57a471 (patch) | |
tree | 861568b1b2172600b8eda9b1b8a45edb3393913f /vos | |
parent | 42453589d0efd7dac7011cf4eb747b8009300773 (diff) |
#98600# Added copy ctor and assignment operator for OGuard, OClearableGuard
Diffstat (limited to 'vos')
-rw-r--r-- | vos/inc/vos/mutex.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vos/inc/vos/mutex.hxx b/vos/inc/vos/mutex.hxx index c4ebe6036335..6d8c57f30c9e 100644 --- a/vos/inc/vos/mutex.hxx +++ b/vos/inc/vos/mutex.hxx @@ -2,9 +2,9 @@ * * $RCSfile: mutex.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:18:12 $ + * last change: $Author: hro $ $Date: 2002-10-15 13:54:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -153,6 +153,8 @@ private: class OGuard { + OGuard( const OGuard& ); + const OGuard& operator = ( const OGuard& ); public: /** Acquires mutex @param pMutex pointer to mutex which is to be acquired */ @@ -184,6 +186,8 @@ protected: */ class OClearableGuard { + OClearableGuard( const OClearableGuard& ); + const OClearableGuard& operator = ( const OClearableGuard& ); public: /** Acquires mutex @param pMutex pointer to mutex which is to be acquired */ |