diff options
author | Paradox <none@none> | 2009-02-09 08:16:34 -0500 |
---|---|---|
committer | Paradox <none@none> | 2009-02-09 08:16:34 -0500 |
commit | d230302b16474ff22a35243ffed6236ef4fc7fb9 (patch) | |
tree | e3679ad841a47b275756f2721f9aa24a3ee548a6 /dep/src/zthread/IntrusivePtr.h | |
parent | b0694d7e5e794b361fa178d55fefdb98cf47e9ca (diff) |
Replace tabs with spaces in more files.
--HG--
branch : trunk
Diffstat (limited to 'dep/src/zthread/IntrusivePtr.h')
-rw-r--r-- | dep/src/zthread/IntrusivePtr.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dep/src/zthread/IntrusivePtr.h b/dep/src/zthread/IntrusivePtr.h index 47d5afbfcb8..189ebaf8ad7 100644 --- a/dep/src/zthread/IntrusivePtr.h +++ b/dep/src/zthread/IntrusivePtr.h @@ -35,16 +35,16 @@ namespace ZThread { * @version 2.2.0 * * This template creates an intrusively reference counted object - * an IntrusivePtr starts out with a 1 count, which is updated as references are - * added and removed. When the reference count drops to 0, the - * IntrusivePtr will delete itself. + * an IntrusivePtr starts out with a 1 count, which is updated as references are + * added and removed. When the reference count drops to 0, the + * IntrusivePtr will delete itself. */ template <typename T, class LockType> class IntrusivePtr : NonCopyable { - + //! Intrusive reference count size_t _count; - + //! Synchornization object LockType _lock; @@ -54,7 +54,7 @@ public: * Create an IntrusivePtr with a count. */ IntrusivePtr(size_t InitialCount=1) : _count(InitialCount) { } - + /** * Destroy an IntrusivePtr */ @@ -67,7 +67,7 @@ public: void addReference() { Guard<LockType, LockedScope> g(_lock); - _count++; + _count++; } |