[ox/claw] Set default write format to MetalClaw
This commit is contained in:
parent
53939a28c6
commit
5b7dacd51f
2
deps/ox/src/ox/claw/write.hpp
vendored
2
deps/ox/src/ox/claw/write.hpp
vendored
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user