patches/ekiga-10-pwlib-bz356696.diff
author dcarbery
Fri, 24 Nov 2006 16:37:59 +0000
branch217update
changeset 19096 d542fc2c823e
parent 8477 97eab3f1978f
child 9126 c816b6cafc78
permissions -rw-r--r--
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