mirror of
https://github.com/matrix-construct/construct
synced 2025-02-16 16:50:12 +01:00
ircd::db: Fix debug constexpr disagreement. (regression 6fd08ba0a3
)
This commit is contained in:
parent
36b85a5c78
commit
b3ba3eb443
1 changed files with 2 additions and 2 deletions
|
@ -4912,7 +4912,7 @@ try
|
|||
const ctx::uninterruptible ui;
|
||||
|
||||
util::timer timer{util::timer::nostart};
|
||||
if constexpr(RB_DEBUG_DB_SEEK_ROW)
|
||||
if constexpr(RB_DEBUG_DB_SEEK)
|
||||
timer = util::timer{};
|
||||
|
||||
_seek_(it, p);
|
||||
|
@ -4960,7 +4960,7 @@ try
|
|||
|
||||
bool valid_it;
|
||||
util::timer timer{util::timer::nostart};
|
||||
if constexpr(RB_DEBUG_DB_SEEK_ROW)
|
||||
if constexpr(RB_DEBUG_DB_SEEK)
|
||||
{
|
||||
valid_it = valid(it);
|
||||
timer = util::timer{};
|
||||
|
|
Loading…
Add table
Reference in a new issue