summaryrefslogtreecommitdiff
path: root/src/managers/HookSystemManager.cpp
diff options
context:
space:
mode:
authorPhilip Damianik <39028343+pdamianik@users.noreply.github.com>2023-09-06 21:45:37 +0200
committerGitHub <noreply@github.com>2023-09-06 21:45:37 +0200
commit8c83852704ad8d78b839bd532d73b3b9e44724b9 (patch)
tree6e750b39b0b6af35c9a0b3b1385a7925936bcecd /src/managers/HookSystemManager.cpp
parent60c01dab01e3b58abf12c49f4a2fb224900ae401 (diff)
internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)
Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
Diffstat (limited to 'src/managers/HookSystemManager.cpp')
-rw-r--r--src/managers/HookSystemManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/HookSystemManager.cpp b/src/managers/HookSystemManager.cpp
index 4b6d9461..b82d6f83 100644
--- a/src/managers/HookSystemManager.cpp
+++ b/src/managers/HookSystemManager.cpp
@@ -73,7 +73,7 @@ std::vector<SCallbackFNPtr>* CHookSystemManager::getVecForEvent(const std::strin
if (IT != m_lpRegisteredHooks.end())
return &IT->second;
- Debug::log(LOG, " [hookSystem] New hook event registered: {}", event.c_str());
+ Debug::log(LOG, " [hookSystem] New hook event registered: {}", event);
return &m_lpRegisteredHooks.emplace_back(std::make_pair<>(event, std::vector<SCallbackFNPtr>{})).second;
} \ No newline at end of file