mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
spdlog: don't pass printf format string (#6307)
This commit is contained in:
parent
fcf7d4bd15
commit
00ac1d566d
|
|
@ -725,7 +725,7 @@ void CustomMessage::EncodeColors(std::string& str) const {
|
|||
if (const size_t secondHashtag = str.find('#', firstHashtag + 1); secondHashtag != std::string::npos) {
|
||||
str.replace(secondHashtag, 1, "%w");
|
||||
} else {
|
||||
SPDLOG_DEBUG("non-matching hashtags in string: \"%s\"", str);
|
||||
SPDLOG_DEBUG("non-matching hashtags in string: \"{}\"", str);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue