summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/http.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/http.cpp')
-rw-r--r--src/emu/http.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/http.cpp b/src/emu/http.cpp
index 899378001fa..c6a8bc011f0 100644
--- a/src/emu/http.cpp
+++ b/src/emu/http.cpp
@@ -132,6 +132,8 @@ public:
m_path_end = m_query == std::string::npos ? m_query_end : m_query;
}
+ virtual ~http_request_impl() = default;
+
/** Retrieves the requested resource. */
virtual const std::string get_resource() {
// The entire resource: path, query and fragment.
@@ -190,6 +192,8 @@ struct http_response_impl : public http_manager::http_response {
http_response_impl(std::shared_ptr<webpp::Response> response) : m_response(response) { }
+ virtual ~http_response_impl() = default;
+
/** Sets the HTTP status to be returned to the client. */
virtual void set_status(int status) {
m_status = status;