From 1d533a2f726534cd02f1c7ba71f0fd454f70e16f Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Tue, 13 Sep 2005 17:02:15 +0000 Subject: [PATCH] Saco _izquierdo del nombre --- src/btree_data.cpp | 4 ++-- src/btree_data.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/btree_data.cpp b/src/btree_data.cpp index 5e351ce..27825d7 100644 --- a/src/btree_data.cpp +++ b/src/btree_data.cpp @@ -9,7 +9,7 @@ BTreeData::BTreeData (uchar *node) clave = new ClaveFija (node); node += clave->Size (); - memcpy (&hijo_izquierdo, node, sizeof (uint)); + memcpy (&hijo, node, sizeof (uint)); } BTreeData::~BTreeData () @@ -28,7 +28,7 @@ uchar* BTreeData::ToArray () { uchar *out = new uchar[Size()]; memcpy (out, clave->ToArray (), clave->Size ()); - memcpy (out+clave->Size (), &hijo_izquierdo, sizeof (uint)); + memcpy (out+clave->Size (), &hijo, sizeof (uint)); return out; } diff --git a/src/btree_data.h b/src/btree_data.h index 5b6a9f6..141db7f 100644 --- a/src/btree_data.h +++ b/src/btree_data.h @@ -17,7 +17,7 @@ class BTreeData { virtual uchar *ToArray (); protected: Clave *clave; - uint hijo_izquierdo; + uint hijo; }; /** Dato a guardar en las hojas */ -- 2.43.0