[ox/claw] Set default write format to MetalClaw

(synced from 5b7dacd51f)
This commit is contained in:
2022-02-19 01:44:27 -06:00
parent 9d28f92072
commit d994ba17b5
+1 -1
View File
@@ -83,7 +83,7 @@ Result<String> writeClawHeader(T *t, ClawFormat fmt) noexcept {
}
template<typename T>
Result<Buffer> writeClaw(T *t, ClawFormat fmt) {
Result<Buffer> writeClaw(T *t, ClawFormat fmt = ClawFormat::Metal) {
oxRequire(header, detail::writeClawHeader(t, fmt));
oxRequire(data, fmt == ClawFormat::Metal ? writeMC(t) : writeOC(t));
Buffer out(header.len() + data.size());