We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c388e0d commit 340ce2fCopy full SHA for 340ce2f
src/Common/PODArray.h
@@ -93,7 +93,7 @@ class PODArrayBase : private boost::noncopyable, private TAllocator /// empty
93
/// Round padding up to an whole number of elements to simplify arithmetic.
94
static constexpr size_t pad_right = integerRoundUp(pad_right_, ELEMENT_SIZE);
95
/// pad_left is also rounded up to 16 bytes to maintain alignment of allocated memory.
96
- static constexpr size_t pad_left = integerRoundUp(pad_left, std::lcm(ELEMENT_SIZE, 16));
+ static constexpr size_t pad_left = integerRoundUp(pad_left_, std::lcm(ELEMENT_SIZE, 16));
97
/// Empty array will point to this static memory as padding and begin/end.
98
static constexpr char * null = const_cast<char *>(empty_pod_array) + pad_left;
99
0 commit comments