aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-11-25 13:01:53 +0000
committerGravatar Peter Powell2017-11-25 13:38:02 +0000
commitfa95bb4b0d5aed9204d469a36946a9839a7ffaa2 (patch)
tree95ff9727251b1081c5348342b6fde619d346b8aa /src
parentConvert GenRandom to std::function. (diff)
Convert the remaining things away from the caller/handler API.
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_reloadmodule.cpp2
-rw-r--r--src/modules.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_reloadmodule.cpp b/src/coremods/core_reloadmodule.cpp
index 9684c8c13..910144221 100644
--- a/src/coremods/core_reloadmodule.cpp
+++ b/src/coremods/core_reloadmodule.cpp
@@ -565,7 +565,7 @@ void DataKeeper::DoRestoreModules()
} // namespace ReloadModule
-class ReloadAction : public HandlerBase0<void>
+class ReloadAction : public ActionBase
{
Module* const mod;
const std::string uuid;
diff --git a/src/modules.cpp b/src/modules.cpp
index 9a3618264..65e0a53ca 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -440,7 +440,7 @@ void ModuleManager::UnloadAll()
namespace
{
- struct UnloadAction : public HandlerBase0<void>
+ struct UnloadAction : public ActionBase
{
Module* const mod;
UnloadAction(Module* m) : mod(m) {}