internal: Remove all .c_str() calls when using std::vformat (#3198)
Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
This commit is contained in:
parent
60c01dab01
commit
8c83852704
26 changed files with 199 additions and 205 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue