Skip to content

Commit

Permalink
fix NDEBUG (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonYao287 authored Nov 14, 2023
1 parent 02b16cc commit 6897d3e
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 @@ -771,7 +771,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 6897d3e

Please sign in to comment.