summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/http.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2018-07-07 11:25:52 +0100
committer smf- <smf-@users.noreply.github.com>2018-07-07 11:28:01 +0100
commitb747b711bb021d0bb550f150e62d3f7dfe6754b2 (patch)
tree3d5f00235a642eda7b0bc4aca35a61bfbf00bb7b /src/emu/http.cpp
parent32ee215a388954d6da30bf408f03e724ee1ff96f (diff)
fix building with clang 6.0.1 (nw)
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;