diff liboctave/SparseQR.h @ 12125:a21a3875ca83

implement a common class for reference counts
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 20 Jan 2011 11:10:27 +0100
parents 12df7854fa7c
children e0e50f48df37
line wrap: on
line diff
--- a/liboctave/SparseQR.h	Sat Jan 22 03:18:31 2011 -0500
+++ b/liboctave/SparseQR.h	Thu Jan 20 11:10:27 2011 +0100
@@ -65,7 +65,7 @@
 
     Matrix Q (void) const;
 
-    int count;
+    octave_refcount<int> count;
 
     octave_idx_type nrows;
 #ifdef HAVE_CXSPARSE