X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/f394d7d95de33fea2b476248ac129488643beb77..a7b40a39a402b6f4cbcf1b1a175c0e357704d43f:/src/clave_fija.cpp?ds=sidebyside diff --git a/src/clave_fija.cpp b/src/clave_fija.cpp index 67edc4c..155e0e6 100644 --- a/src/clave_fija.cpp +++ b/src/clave_fija.cpp @@ -31,3 +31,12 @@ Clave *ClaveFija::Clone () const return k; } +bool ClaveFija::operator < (const Clave &c) const +{ + return data < ((ClaveFija&)c).data; +} + +bool ClaveFija::operator == (const Clave &c) const +{ + return data == ((ClaveFija&)c).data; +}