Skip to content

Commit d2f8d4a

Browse files
authored
Merge pull request #1522 from sideeffects/sendupstream_use_offsetof
Switch to using the static asserts.
2 parents 2aeb50e + f1a1aae commit d2f8d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nanovdb/nanovdb/util/GridChecksum.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ template <typename ValueT>
178178
void GridChecksum::operator()(const NanoGrid<ValueT> &grid, ChecksumMode mode)
179179
{
180180
// Validate the assumed memory layout
181-
#if 1
181+
#if 0
182182
NANOVDB_ASSERT(NANOVDB_OFFSETOF(GridData, mMagic) == 0);
183183
NANOVDB_ASSERT(NANOVDB_OFFSETOF(GridData, mChecksum) == 8);
184184
NANOVDB_ASSERT(NANOVDB_OFFSETOF(GridData, mVersion) == 16);

0 commit comments

Comments
 (0)