From 1d59fccfcaace9391b005e5e9f0931496fa38991 Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Sat, 29 Oct 2005 17:51:56 +0000 Subject: [PATCH] Elimino warnings del compilador. --- src/exception.h | 3 +++ 1 file changed, 3 insertions(+) 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."; } }; -- 2.43.0