From 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 4 Apr 2021 23:42:15 +0100 Subject: Fix a ton of pedantic compiler warnings. --- include/protocol.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/protocol.h') diff --git a/include/protocol.h b/include/protocol.h index 721205ba0..de5e21255 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -83,21 +83,21 @@ class CoreExport ProtocolInterface * @param key The 'key' of the data, e.g. "swhois" for swhois desc on a user * @param data The string representation of the data */ - virtual void SendMetaData(Channel* chan, const std::string& key, const std::string& data) { } + virtual void SendMetaData(const Channel* chan, const std::string& key, const std::string& data) { } /** Send metadata for a user to other linked servers. * @param user The user to send metadata for * @param key The 'key' of the data, e.g. "swhois" for swhois desc on a user * @param data The string representation of the data */ - virtual void SendMetaData(User* user, const std::string& key, const std::string& data) { } + virtual void SendMetaData(const User* user, const std::string& key, const std::string& data) { } /** Send metadata for a user to other linked servers. * @param memb The membership to send metadata for * @param key The 'key' of the data, e.g. "swhois" for swhois desc on a user * @param data The string representation of the data */ - virtual void SendMetaData(Membership* memb, const std::string& key, const std::string& data) { } + virtual void SendMetaData(const Membership* memb, const std::string& key, const std::string& data) { } /** Send metadata related to the server to other linked servers. * @param key The 'key' of the data -- cgit v1.3.1-10-gc9f91