mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:04:12 +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);
|
const auto diff = compare_position_nothrow(left, right, ignore_nested);
|
||||||
assert(compare_position_nothrow(right, left, ignore_nested) == -diff);
|
assert(compare_position_nothrow(right, left, ignore_nested) == -diff);
|
||||||
if (MDBX_LIKELY(int16_t(diff) == diff))
|
if (MDBX_LIKELY(int16_t(diff) == diff))
|
||||||
MDBX_CXX20_LIKELY
|
MDBX_CXX20_LIKELY return int(diff);
|
||||||
return int(diff);
|
else
|
||||||
throw_incomparable_cursors();
|
throw_incomparable_cursors();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline cursor::move_result::move_result(const cursor &cursor,
|
inline cursor::move_result::move_result(const cursor &cursor,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user