From 70227dc8823c0f9669e35dbf63593faaeef5410d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 24 Nov 2024 22:36:53 +0000 Subject: Take a constant pointer in GetModule. --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/config.cpp b/src/config.cpp index 890cf57fe..69d36348d 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -620,7 +620,7 @@ void Conf::Post(Conf *old) } } -Block *Conf::GetModule(Module *m) +Block *Conf::GetModule(const Module *m) { if (!m) return NULL; -- cgit