From 859088dac5b937208c7aff7fd3976bbc63329281 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 22 Oct 2022 20:45:22 +0100 Subject: More const correctness. --- include/modules.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index f9034578d..dfb3a70e5 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1059,7 +1059,7 @@ public: * @param mod Module to attach events to * @param sz The size of the implementation array */ - void Attach(Implementation* i, Module* mod, size_t sz); + void Attach(const Implementation* i, Module* mod, size_t sz); /** Attach all events to a module (used on module load) * @param mod Module to attach to all events @@ -1082,7 +1082,7 @@ public: * @param mod Module to detach events from * @param sz The size of the implementation array */ - void Detach(Implementation* i, Module* mod, size_t sz); + void Detach(const Implementation* i, Module* mod, size_t sz); /** Detach all events from a module (used on unload) * @param mod Module to detach from -- cgit v1.3.1-10-gc9f91