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:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user