Merged trunk changes r9797:9829 into 217update branch.
--- include/ptlib/critsec.h.ori Thu Oct 26 14:32:50 2006
+++ include/ptlib/critsec.h Thu Oct 26 14:33:31 2006
@@ -230,11 +230,11 @@
inline int operator--() { PWaitAndSignal m(critSec); value--; return value;}
inline operator int () const { return value; }
inline void SetValue(int v) { value = v; }
- private:
- PAtomicInteger & operator=(const PAtomicInteger & ref) { value = (int)ref; return *this; }
protected:
int value;
#endif
+ private:
+ PAtomicInteger & operator=(const PAtomicInteger & ref) { value = (int)ref; return *this; }
};
#endif