From: Ricardo Markiewicz Date: Sat, 29 Oct 2005 17:51:56 +0000 (+0000) Subject: Elimino warnings del compilador. X-Git-Tag: 1_0-pre1~3 X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/commitdiff_plain/1d59fccfcaace9391b005e5e9f0931496fa38991?ds=sidebyside Elimino warnings del compilador. --- diff --git a/src/exception.h b/src/exception.h index 133485e..9cb4b0b 100644 --- a/src/exception.h +++ b/src/exception.h @@ -6,16 +6,19 @@ class Exception { public: + virtual ~Exception () {} virtual std::string Message () { return "Error desconocido"; } }; class AddException : public Exception { public: + virtual ~AddException () {} virtual std::string Message () { return "No se pudo agregar la clave."; } }; class DelException : public Exception { public: + virtual ~DelException () {} virtual std::string Message () { return "No se pudo eliminar la clave."; } };