From: Leandro Lucarella Date: Thu, 23 Oct 2003 01:25:42 +0000 (+0000) Subject: Se pasa el destructor al .cpp. X-Git-Tag: svn_import~381 X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/commitdiff_plain/f7db8b6f34919e5548c39479ed5a5471bae39e5b?ds=sidebyside Se pasa el destructor al .cpp. --- diff --git a/Server/include/plaqui/server/request.h b/Server/include/plaqui/server/request.h index 86541bc..d20b85f 100644 --- a/Server/include/plaqui/server/request.h +++ b/Server/include/plaqui/server/request.h @@ -72,7 +72,7 @@ namespace Server { /** * Destructor. */ - virtual ~Request(void) {} + virtual ~Request(void); /** * Agrega variables con un request HTTP. diff --git a/Server/include/plaqui/server/string.h b/Server/include/plaqui/server/string.h index 8ab2b8f..53752e4 100644 --- a/Server/include/plaqui/server/string.h +++ b/Server/include/plaqui/server/string.h @@ -45,7 +45,7 @@ namespace Server { /** * Destructor. */ - virtual ~String(void) {} + virtual ~String(void); /** * Constructor. diff --git a/Server/src/request.cpp b/Server/src/request.cpp index d17ca72..9e6aadf 100644 --- a/Server/src/request.cpp +++ b/Server/src/request.cpp @@ -61,6 +61,9 @@ PlaQui::Server::Request::CHARS_UNRESERVED = CHARS_ALPHANUM + CHARS_MARK; const std::string PlaQui::Server::Request::CHARS_HEX = CHARS_DIGIT + std::string("abcdefABCDEF"); +PlaQui::Server::Request::~Request(void) { +} + void PlaQui::Server::Request::set_request(const std::string& req, const std::string& host, unsigned port) { #ifdef DEBUG diff --git a/Server/src/string.cpp b/Server/src/string.cpp index edc522c..7062bb0 100644 --- a/Server/src/string.cpp +++ b/Server/src/string.cpp @@ -33,7 +33,10 @@ #endif // DEBUG const std::string PlaQui::Server::String::SPACE_CHARS = " \t\n\r"; - + +PlaQui::Server::String::~String(void) { +} + PlaQui::Server::String::String(const std::string& str): std::string(str.c_str()) { }