2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 04:27:42 +00:00

Massive fmtlib refactor

This commit is contained in:
Jack Andersen
2019-07-19 18:27:21 -10:00
parent e38a3ece89
commit 7a3da1f7a6
228 changed files with 2071 additions and 2116 deletions

View File

@@ -12,9 +12,9 @@ CAssetId::CAssetId(CInputStream& in) {
else if (g_Main->GetExpectedIdSize() == sizeof(u64))
Assign(in.readUint64Big());
else
Log.report(logvisor::Fatal, "Unsupported id length %i", g_Main->GetExpectedIdSize());
Log.report(logvisor::Fatal, fmt("Unsupported id length {}"), g_Main->GetExpectedIdSize());
} else
Log.report(logvisor::Fatal, "Input constructor called before runtime Main entered!");
Log.report(logvisor::Fatal, fmt("Input constructor called before runtime Main entered!"));
}
void CAssetId::PutTo(COutputStream& out) {
@@ -24,9 +24,9 @@ void CAssetId::PutTo(COutputStream& out) {
else if (g_Main->GetExpectedIdSize() == sizeof(u64))
out.writeUint64Big(id);
else
Log.report(logvisor::Fatal, "Unsupported id length %i", g_Main->GetExpectedIdSize());
Log.report(logvisor::Fatal, fmt("Unsupported id length {}"), g_Main->GetExpectedIdSize());
} else
Log.report(logvisor::Fatal, "PutTo called before runtime Main entered!");
Log.report(logvisor::Fatal, fmt("PutTo called before runtime Main entered!"));
}
} // namespace urde