mdbx: обмен порядка атрибутов pure|const/maybe_unused в определении функций.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2024-11-10 21:17:34 +03:00
parent 7aa5d9ab97
commit 871bb7f56c
4 changed files with 10 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
/*------------------------------------------------------------------------------
* Unaligned access */
MDBX_MAYBE_UNUSED MDBX_NOTHROW_CONST_FUNCTION static inline size_t
MDBX_NOTHROW_CONST_FUNCTION MDBX_MAYBE_UNUSED static inline size_t
field_alignment(size_t alignment_baseline, size_t field_offset) {
size_t merge = alignment_baseline | (size_t)field_offset;
return merge & -(int)merge;