build: update fmt library to 12.1.0 (#449)

This commit is contained in:
bicarus-dev
2025-12-14 14:36:38 -08:00
committed by GitHub
parent b220cbf336
commit e0530fedad
71 changed files with 17690 additions and 15430 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ Config::Config() {
this->firstFillConfigFile();
break;
default:
log_warning("cfg", "Unknown XML error reading config: {}", configLoadError);
log_warning("cfg", "Unknown XML error reading config: {}", static_cast<uint32_t>(configLoadError));
break;
}
} while (configLoadError != tinyxml2::XMLError::XML_SUCCESS);
+4
View File
@@ -3,6 +3,10 @@
#include "util/logging.h"
#include "util/utils.h"
static auto format_as(OptionType f) {
return fmt::underlying(f);
}
void Option::value_add(std::string new_value) {
// put in primary slot if possible
+1 -1
View File
@@ -48,7 +48,7 @@ namespace cfg {
// check parse error
auto error = doc.GetParseError();
if (error) {
log_warning("ScreenResize", "config parse error: {}", error);
log_warning("ScreenResize", "config parse error: {}", static_cast<uint32_t>(error));
return;
}