[ox/claw] Cleanup

This commit is contained in:
Gary Talent 2021-06-25 21:09:47 -05:00
parent 9638dc52fe
commit 50715ff663

View File

@ -44,13 +44,15 @@ Error readClaw(const char *buff, std::size_t buffLen, T *val) {
MetalClawReader reader(bit_cast<uint8_t*>(header.data), buffLen);
return model(&reader, val);
}
#ifdef OX_USE_STDLIB
case ClawFormat::Organic:
{
#ifdef OX_USE_STDLIB
OrganicClawReader reader(bit_cast<uint8_t*>(header.data), buffLen);
return model(&reader, val);
}
#else
break;
#endif
}
case ClawFormat::None:
return OxError(1);
}