aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/datastore/dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-06-22 19:10:01 +0200
committerTor Egge <Tor.Egge@online.no>2023-06-22 19:10:01 +0200
commitc0f3d378afacf1884c3336175f316647ae2bdffe (patch)
treed2918d0774c954933d23d20acefcd98579203b57 /vespalib/src/tests/datastore/dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp
parent3bef09482a1fcc1a55ff09c778921ea921028e24 (diff)
Avoid shadowing.
Diffstat (limited to 'vespalib/src/tests/datastore/dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp')
-rw-r--r--vespalib/src/tests/datastore/dynamic_array_buffer_type/dynamic_array_buffer_type_test.cpp2
1 files changed, 1 insertions, 1 deletions
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<char[]>(_buf_size + _buffer_underflow_size)),
_buf(_buf_alloc.get() + _buffer_underflow_size)