File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,6 @@ template<typename CHILD>
4848class http_resource
4949{
5050 public:
51- /* *
52- * Class destructor
53- **/
54- ~http_resource ()
55- {
56- }
5751 /* *
5852 * Method used to answer to a generic request
5953 * @param req Request passed through http
@@ -207,6 +201,13 @@ class http_resource
207201 return (*this );
208202 }
209203
204+ /* *
205+ * Class destructor
206+ **/
207+ ~http_resource ()
208+ {
209+ }
210+
210211 private:
211212 friend class webserver ;
212213 friend void resource_init (std::map<std::string, bool >& res);
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ class http_response
209209 {
210210 }
211211
212- ~http_response ();
212+ virtual ~http_response ();
213213 /* *
214214 * Method used to get the content from the response.
215215 * @return the content in string form
You can’t perform that action at this time.
0 commit comments