Skip to content

Commit

Permalink
silence a warning in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
finnschiermer committed Feb 22, 2024
1 parent 81e7fe3 commit 4916543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realm/node_header.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ size_t inline NodeHeader::get_byte_size_from_header(const char* header) noexcept
get_arrayB_num_elements<NodeHeader::Encoding::Flex>(h) *
get_elementB_size<NodeHeader::Encoding::Flex>(h));
default:
REALM_ASSERT(false && "unknown encoding");
REALM_ASSERT_RELEASE(false && "unknown encoding");
}
}

Expand Down

0 comments on commit 4916543

Please sign in to comment.