diff options
| author | Sadie Powell <sadie@witchery.services> | 2022-01-03 19:17:02 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2022-01-04 00:39:05 +0000 |
| commit | eb81f22a5b1df18c9844893c55f57762148f2bd0 (patch) | |
| tree | fb178d90cac536562faeabd2a57f720d70cc0530 /include | |
| parent | a31a7f5a6ce3f47716a9313d232c2a40955fd1e1 (diff) | |
Modernize CXXFLAGS on Unix and enable -Werror on CI.
Also clear up warnings that this exposed.
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules/httpd.h | 3 | ||||
| -rw-r--r-- | include/regchannel.h | 1 |
2 files changed, 3 insertions, 1 deletions
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<cookie> 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; diff --git a/include/regchannel.h b/include/regchannel.h index bf14d82ae..9b05a2e62 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -93,6 +93,7 @@ class CoreExport ChannelInfo : public Serializable, public Extensible ChannelInfo(const ChannelInfo &ci); ~ChannelInfo(); + ChannelInfo& operator=(const ChannelInfo &) = default; void Serialize(Serialize::Data &data) const override; static Serializable* Unserialize(Serializable *obj, Serialize::Data &); |
