Replace std::format with oss fmt library

This commit is contained in:
Jordon Brooks 2024-04-07 01:29:06 +01:00
parent 5b34e9de0f
commit 448f0c2124
Signed by: jordon
GPG key ID: DBD9758CD53E786A
2 changed files with 22 additions and 2 deletions

View file

@ -14,7 +14,7 @@
#include "IPlatformUtilities.h"
#include <format>
#include <fmt/core.h>
#include <set>
#include "Utilities.h"
@ -140,7 +140,7 @@ namespace HarmonyLinkLib
score += CONTROLLER_DETECTION_SCORE;
}
Utilities::DebugPrint(std::format("Score: {}/{}", score, FINAL_TARGET_DETECTION_SCORE).c_str());
Utilities::DebugPrint(fmt::format("Score: {}/{}", score, FINAL_TARGET_DETECTION_SCORE).c_str());
return score >= FINAL_TARGET_DETECTION_SCORE;
}