X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/1d533a2f726534cd02f1c7ba71f0fd454f70e16f..ea7b8df3fe6725846831da271c70d0b77eecfe55:/src/btree_data.h?ds=inline 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 ();