From c0f3d378afacf1884c3336175f316647ae2bdffe Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Thu, 22 Jun 2023 19:10:01 +0200 Subject: Avoid shadowing. --- .../dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vespalib/src/tests/datastore/dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp') diff --git a/vespalib/src/tests/datastore/dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp b/vespalib/src/tests/datastore/dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp index 9c0432a7780..b0af2f56492 100644 --- a/vespalib/src/tests/datastore/dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp +++ b/vespalib/src/tests/datastore/dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp @@ -130,7 +130,7 @@ DynamicArrayBufferTypeTest::DynamicArrayBufferTypeTest() : testing::Test(), _buffer_type(3, ArrayStoreConfig::AllocSpec(0, 10, 0, 0.2), {}), _entry_size(_buffer_type.entry_size()), - _buffer_underflow_size(BufferType::buffer_underflow_size), + _buffer_underflow_size(_buffer_type.buffer_underflow_size()), _buf_size(2 * _entry_size), _buf_alloc(std::make_unique(_buf_size + _buffer_underflow_size)), _buf(_buf_alloc.get() + _buffer_underflow_size) -- cgit v1.2.3