Skip to content

Commit

Permalink
fix NDEBUG (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonYao287 authored and hkadayam committed Nov 14, 2023
1 parent e44aa46 commit 74b8e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/homestore/btree/detail/prefix_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ class FixedPrefixNode : public VariantNode< K, V > {
phdr->tail_slot = phdr->used_slots;
}

#ifdef _DEBUG
#ifndef NDEBUG
void validate_sanity() {
uint32_t i{0};
// validate if keys are in ascending order
Expand Down

0 comments on commit 74b8e78

Please sign in to comment.