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