diff liboctave/idx-vector.h @ 8680:a2bcd96b9344

use allocators for idx_vector_rep subclasses
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 05 Feb 2009 14:34:30 +0100
parents a99b9113c58c
children eb63fbe60fab
line wrap: on
line diff
--- a/liboctave/idx-vector.h
+++ b/liboctave/idx-vector.h
@@ -31,6 +31,7 @@
 
 #include "dim-vector.h"
 #include "oct-inttypes.h"
+#include "oct-alloc.h"
 
 template<class T> class Array;
 template<class T> class Sparse;
@@ -137,6 +138,8 @@
 
   private:
 
+    DECLARE_OCTAVE_ALLOCATOR
+
     // No copying!
     idx_colon_rep (const idx_colon_rep& idx);
   };
@@ -190,6 +193,8 @@
 
   private:
 
+    DECLARE_OCTAVE_ALLOCATOR
+
     // No copying!
     idx_range_rep (const idx_range_rep& idx);
 
@@ -241,6 +246,8 @@
 
   private:
 
+    DECLARE_OCTAVE_ALLOCATOR
+
     // No copying!
     idx_scalar_rep (const idx_scalar_rep& idx);
 
@@ -299,6 +306,8 @@
 
   private:
 
+    DECLARE_OCTAVE_ALLOCATOR
+
     // No copying!
     idx_vector_rep (const idx_vector_rep& idx);