summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mode.h b/include/mode.h
index b63e5e6a9..76eeaba17 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -157,7 +157,7 @@ class CoreExport ModeHandler : public classbase
public:
/** Module that created this mode. NULL for core modes */
- Module* const creator;
+ ModuleRef creator;
/** Long-form name
*/
const std::string name;
@@ -370,7 +370,7 @@ class CoreExport ModeWatcher : public classbase
ModeType m_type;
public:
- Module* const creator;
+ ModuleRef creator;
/**
* The constructor initializes the mode and the mode type
*/