From: Ricardo Markiewicz Date: Tue, 13 Sep 2005 17:37:41 +0000 (+0000) Subject: Constructores faltantes/necesarios X-Git-Tag: 1_0-pre1~138 X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/commitdiff_plain/ea7b8df3fe6725846831da271c70d0b77eecfe55?ds=inline Constructores faltantes/necesarios --- diff --git a/src/btree_data.h b/src/btree_data.h index 141db7f..d920c9f 100644 --- a/src/btree_data.h +++ b/src/btree_data.h @@ -10,6 +10,7 @@ /** Dato a guardar en los nodos */ class BTreeData { public: + BTreeData () {} BTreeData (uchar *node); virtual ~BTreeData (); @@ -21,8 +22,9 @@ class BTreeData { }; /** Dato a guardar en las hojas */ -class BTreeLeafData:BTreeData { +class BTreeLeafData:public BTreeData { public: + BTreeLeafData (Clave *k):BTreeData () { clave = k; } virtual ~BTreeLeafData (); virtual uint Size ();