X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/f394d7d95de33fea2b476248ac129488643beb77..f0a17b3d23f3f277957d3e97ac1c7c1869d6d4cc:/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; +}