SOURCES: pwlib-API.patch (NEW) - I'm not sure, but the copy constr...

czarny czarny at pld-linux.org
Sat Dec 23 14:15:51 CET 2006


Author: czarny                       Date: Sat Dec 23 13:15:51 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- I'm not sure, but the copy constructor should be public, especially that other openh323 projects use that API as public and fail to build (opal)

---- Files affected:
SOURCES:
   pwlib-API.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pwlib-API.patch
diff -u /dev/null SOURCES/pwlib-API.patch:1.1
--- /dev/null	Sat Dec 23 14:15:51 2006
+++ SOURCES/pwlib-API.patch	Sat Dec 23 14:15:45 2006
@@ -0,0 +1,11 @@
+diff -urN pwlib-1.10.2/include/ptlib/critsec.h pwlib-1.10.2.new/include/ptlib/critsec.h
+--- pwlib-1.10.2/include/ptlib/critsec.h	2006-01-27 04:43:24.000000000 +0100
++++ pwlib-1.10.2.new/include/ptlib/critsec.h	2006-12-23 13:56:20.593039811 +0100
+@@ -230,7 +230,6 @@
+       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;
================================================================


More information about the pld-cvs-commit mailing list