[Kst] kst_threading_branch: kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Mon Feb 16 23:05:10 CET 2004


CVS commit by staikos: 

report usage properly


  M +1 -1      kstsharedptr.h   1.1.2.2


--- kdeextragear-2/kst/kst/kstsharedptr.h  #1.1.2.1:1.1.2.2
@@ -59,5 +59,5 @@ public:
     * @return Number of references
     */
-   int _KShared_count() const { return sem.total(); }
+   int _KShared_count() const { return sem.total() - sem.available(); }
 
 protected:





More information about the Kst mailing list