From eb81f22a5b1df18c9844893c55f57762148f2bd0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 3 Jan 2022 19:17:02 +0000 Subject: Modernize CXXFLAGS on Unix and enable -Werror on CI. Also clear up warnings that this exposed. --- include/modules/httpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/modules') diff --git a/include/modules/httpd.h b/include/modules/httpd.h index d9ab85df7..c4c2c7d74 100644 --- a/include/modules/httpd.h +++ b/include/modules/httpd.h @@ -28,6 +28,7 @@ struct HTTPReply std::vector cookies; HTTPReply() = default; + HTTPReply& operator=(const HTTPReply &) = default; HTTPReply(const HTTPReply& other) : error(other.error), length(other.length) { @@ -93,7 +94,7 @@ struct HTTPMessage class HTTPClient; class HTTPProvider; -class HTTPPage : public Base +class HTTPPage : public virtual Base { Anope::string url; Anope::string content_type; -- cgit