aboutsummaryrefslogtreecommitdiff
path: root/zenserver/zenserver.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2022-01-10 13:54:18 +0100
committerMartin Ridgers <[email protected]>2022-01-10 13:55:26 +0100
commit7a1f88278a58dbe56786e57ed82eb4efa731fddd (patch)
treea14ce0e481d2a1a89d850ad34a37eaf5299f4ec9 /zenserver/zenserver.cpp
parentstd::jthread is not supported on Apple Clang (diff)
downloadzen-7a1f88278a58dbe56786e57ed82eb4efa731fddd.tar.xz
zen-7a1f88278a58dbe56786e57ed82eb4efa731fddd.zip
Apple Clang issues fmt::format compile errors for enum class-type args
Diffstat (limited to 'zenserver/zenserver.cpp')
-rw-r--r--zenserver/zenserver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/zenserver.cpp b/zenserver/zenserver.cpp
index 8fb91c890..08b3d6c05 100644
--- a/zenserver/zenserver.cpp
+++ b/zenserver/zenserver.cpp
@@ -593,10 +593,10 @@ ZenServer::InitializeState(const ZenServerOptions& ServerOptions)
if (CbValidateError ValidationResult = ValidateCompactBinary(Manifest, CbValidateMode::All);
ValidationResult != CbValidateError::None)
{
- ZEN_ERROR("Manifest validation failed: {}, state will be wiped", ValidationResult);
+ ZEN_ERROR("Manifest validation failed: {}, state will be wiped", uint32_t(ValidationResult));
WipeState = true;
- WipeReason = fmt::format("Validation of manifest at '{}' failed: {}", ManifestPath, ValidationResult);
+ WipeReason = fmt::format("Validation of manifest at '{}' failed: {}", ManifestPath, uint32_t(ValidationResult));
}
else
{