diff src/pt-mat.cc @ 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 7a5aacf65f81
line wrap: on
line diff
--- a/src/pt-mat.cc
+++ b/src/pt-mat.cc
@@ -81,7 +81,7 @@
 
     ~tm_row_const_rep (void) { }
 
-    int count;
+    octave_refcount<int> count;
 
     dim_vector dv;