Remove redundant type specifiers from Oar library
This commit is contained in:
parent
1e87aa7fcf
commit
f20e220e35
|
@ -82,9 +82,8 @@ export namespace oar {
|
|||
|
||||
header const * const archive_header{reinterpret_cast<header const *>(archive_header_buffer)};
|
||||
|
||||
if (!coral::equals(coral::slice{archive_header->signature_magic,
|
||||
signature_identifier_length}, coral::slice{signature_magic,
|
||||
signature_identifier_length})) return open_result::archive_invalid;
|
||||
if (!coral::equals({archive_header->signature_magic, signature_identifier_length},
|
||||
{signature_magic, signature_identifier_length})) return open_result::archive_invalid;
|
||||
|
||||
if (archive_header->signature_magic[signature_identifier_length] !=
|
||||
signature_magic[signature_identifier_length]) return open_result::archive_unsupported;
|
||||
|
|
Loading…
Reference in New Issue