mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 01:44:13 +08:00
mdbx++: поправка форматирования против бага clang-format.
This commit is contained in:
parent
304cf25149
commit
8a6bddef44
6
mdbx.h++
6
mdbx.h++
@ -6593,9 +6593,9 @@ inline int compare_position(const cursor &left, const cursor &right,
|
||||
const auto diff = compare_position_nothrow(left, right, ignore_nested);
|
||||
assert(compare_position_nothrow(right, left, ignore_nested) == -diff);
|
||||
if (MDBX_LIKELY(int16_t(diff) == diff))
|
||||
MDBX_CXX20_LIKELY
|
||||
return int(diff);
|
||||
throw_incomparable_cursors();
|
||||
MDBX_CXX20_LIKELY return int(diff);
|
||||
else
|
||||
throw_incomparable_cursors();
|
||||
}
|
||||
|
||||
inline cursor::move_result::move_result(const cursor &cursor,
|
||||
|
Loading…
x
Reference in New Issue
Block a user