From 5ec128be872384d59cc396e96ab3454c5c2ac4e5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 8 May 2021 15:59:32 +0100 Subject: Constify ChannelManager::Find. --- include/channelmanager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/channelmanager.h b/include/channelmanager.h index f149fbc09..172028be6 100644 --- a/include/channelmanager.h +++ b/include/channelmanager.h @@ -43,7 +43,7 @@ class CoreExport ChannelManager * @param channel The name of the channel to look up. * @return If the channel was found then a pointer to a Channel object; otherwise, nullptr. */ - Channel* Find(const std::string& channel); + Channel* Find(const std::string& channel) const; /** Retrieves a map containing all channels keyed by the channel name. */ ChannelMap& GetChans() { return channels; } -- cgit v1.3.1-10-gc9f91