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
4
mdbx.h++
4
mdbx.h++
@ -6593,8 +6593,8 @@ 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);
|
||||
MDBX_CXX20_LIKELY return int(diff);
|
||||
else
|
||||
throw_incomparable_cursors();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user