mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
build: update fmt library to 12.1.0 (#449)
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
|
||||
using namespace rapidjson;
|
||||
|
||||
|
||||
namespace overlay::windows {
|
||||
|
||||
CardManager::CardManager(SpiceOverlay *overlay) : Window(overlay) {
|
||||
@@ -451,7 +450,7 @@ namespace overlay::windows {
|
||||
// check parse error
|
||||
auto error = doc.GetParseError();
|
||||
if (error) {
|
||||
log_warning("cardmanager", "config parse error: {}", error);
|
||||
log_warning("cardmanager", "config parse error: {}", static_cast<uint32_t>(error));
|
||||
}
|
||||
|
||||
// verify root is a dict
|
||||
@@ -542,7 +541,7 @@ namespace overlay::windows {
|
||||
// check parse error
|
||||
auto error = doc.GetParseError();
|
||||
if (error) {
|
||||
log_warning("cardmanager", "template parse error: {}", error);
|
||||
log_warning("cardmanager", "template parse error: {}", static_cast<uint32_t>(error));
|
||||
}
|
||||
|
||||
// add cards
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
#include "generic_sub.h"
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "avs/game.h"
|
||||
#include "games/io.h"
|
||||
#include "cfg/screen_resize.h"
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
|
||||
using namespace rapidjson;
|
||||
|
||||
|
||||
namespace overlay::windows {
|
||||
|
||||
|
||||
@@ -943,7 +942,7 @@ namespace overlay::windows {
|
||||
// check parse error
|
||||
auto error = doc.GetParseError();
|
||||
if (error) {
|
||||
log_warning("patchmanager", "config file parse error: {}", error);
|
||||
log_warning("patchmanager", "config file parse error: {}", static_cast<uint32_t>(error));
|
||||
}
|
||||
|
||||
// verify root is a dict
|
||||
@@ -1051,7 +1050,7 @@ namespace overlay::windows {
|
||||
// check parse error
|
||||
auto error = doc.GetParseError();
|
||||
if (error) {
|
||||
log_warning("patchmanager", "template parse error: {}", error);
|
||||
log_warning("patchmanager", "template parse error: {}", static_cast<uint32_t>(error));
|
||||
}
|
||||
|
||||
// auto apply setting
|
||||
@@ -1183,7 +1182,7 @@ namespace overlay::windows {
|
||||
// check parse error
|
||||
auto error = doc.GetParseError();
|
||||
if (error) {
|
||||
log_warning("patchmanager", "embedded patches json file parse error: {}", error);
|
||||
log_warning("patchmanager", "embedded patches json file parse error: {}", static_cast<uint32_t>(error));
|
||||
}
|
||||
|
||||
// iterate patches
|
||||
@@ -1515,7 +1514,7 @@ namespace overlay::windows {
|
||||
}
|
||||
case PatchType::Unknown:
|
||||
default:
|
||||
log_warning("patchmanager", "unknown patch type: {}", patch_data.type);
|
||||
log_warning("patchmanager", "unknown patch type: {}", static_cast<uint32_t>(patch_data.type));
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1737,7 +1736,7 @@ namespace overlay::windows {
|
||||
"patchmanager",
|
||||
"patches file parse error at offset {}: {} ({})",
|
||||
error_offset,
|
||||
error,
|
||||
static_cast<uint32_t>(error),
|
||||
rapidjson::GetParseError_En(error));
|
||||
}
|
||||
|
||||
@@ -2245,7 +2244,7 @@ namespace overlay::windows {
|
||||
}
|
||||
case PatchType::Unknown:
|
||||
default:
|
||||
log_warning("patchmanager", "unknown patch type: {}", patch_data.type);
|
||||
log_warning("patchmanager", "unknown patch type: {}", static_cast<uint32_t>(patch_data.type));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user