util: add uuid

This commit is contained in:
Michael Scire
2020-02-24 20:14:29 -08:00
parent 5a8aebf74d
commit c17b6d0d44
6 changed files with 187 additions and 4 deletions

View File

@@ -65,6 +65,7 @@ namespace ams::util {
((u & (ByteMask << 0)) << 8);
} else if constexpr (std::is_same<U, u8>::value) {
AMS_UNUSED(ByteMask);
return u;
} else {
static_assert(!std::is_same<U, U>::value);