summaryrefslogtreecommitdiffstats
path: root/src/lockingptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lockingptr.h')
-rw-r--r--src/lockingptr.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lockingptr.h b/src/lockingptr.h
index 1936bec..99a1772 100644
--- a/src/lockingptr.h
+++ b/src/lockingptr.h
@@ -37,15 +37,17 @@ class LockableObj
/*! Returns TRUE if the object is currently locked. */
bool isLocked() const { return m_lockCount>0; }
- protected:
+//VC++6.0 workaround
+// protected:
/*! Called when the object is locked. */
virtual void lock() const = 0;
/*! Called when the object is unlocked. */
virtual void unlock() const = 0;
- private:
- template<class T> friend class LockingPtr;
+//VC++6.0 workaround
+// private:
+// template<class T> friend class LockingPtr;
int m_lockCount;
};