diff options
author | Sadie Powell <sadie@witchery.services> | 2024-11-24 22:36:53 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-11-24 22:36:53 +0000 |
commit | 70227dc8823c0f9669e35dbf63593faaeef5410d (patch) | |
tree | a3eaca7867a9404101771d59e01a35dee3ca0a10 /src/config.cpp | |
parent | 6178ea644aa8ffe8859a5d44b29b8bdc91bd3035 (diff) |
Take a constant pointer in GetModule.
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |