Home | History | Annotate | Download | only in patches
      1 --- pwlib/include/ptlib/critsec.h.ori	2007-01-25 13:23:05.435232000 +0800
      2 +++ pwlib/include/ptlib/critsec.h	2007-01-25 13:30:00.451040000 +0800
      3 @@ -230,7 +230,7 @@
      4        inline int operator--()            { PWaitAndSignal m(critSec); value--; return value;}
      5        inline operator int () const       { return value; }
      6        inline void SetValue(int v)        { value = v; }
      7 -   private:
      8 +   public:
      9        PAtomicInteger & operator=(const PAtomicInteger & ref) { value = (int)ref; return *this; }
     10      protected:
     11        int value;
     12