summaryrefslogtreecommitdiff
path: root/src/plugins/HookSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/HookSystem.cpp')
-rw-r--r--src/plugins/HookSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/HookSystem.cpp b/src/plugins/HookSystem.cpp
index c19f6f46..9fa61561 100644
--- a/src/plugins/HookSystem.cpp
+++ b/src/plugins/HookSystem.cpp
@@ -253,7 +253,7 @@ bool CFunctionHook::unhook() {
}
CFunctionHook* CHookSystem::initHook(HANDLE owner, void* source, void* destination) {
- return m_vHooks.emplace_back(std::make_unique<CFunctionHook>(owner, source, destination)).get();
+ return m_vHooks.emplace_back(makeUnique<CFunctionHook>(owner, source, destination)).get();
}
bool CHookSystem::removeHook(CFunctionHook* hook) {