summaryrefslogtreecommitdiffstats
path: root/test/ringbuffer_test.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-17 07:32:58 -0400
committerDavid Robillard <d@drobilla.net>2024-07-18 17:29:04 -0400
commitf8b5ebceeed89454f3ac5c6a98b3ecfbd76b55ff (patch)
treee5adbb0f0c61dc3a62748590ded77f10d5a9ee00 /test/ringbuffer_test.cpp
parentb2d78db908f35d963c84bcbe697f9cf9943019a8 (diff)
downloadraul-f8b5ebceeed89454f3ac5c6a98b3ecfbd76b55ff.tar.gz
raul-f8b5ebceeed89454f3ac5c6a98b3ecfbd76b55ff.tar.bz2
raul-f8b5ebceeed89454f3ac5c6a98b3ecfbd76b55ff.zip
Remove redundant member initialization
I guess we'll side with clang-tidy on this one, over the somewhat notorious Weffc++.
Diffstat (limited to 'test/ringbuffer_test.cpp')
-rw-r--r--test/ringbuffer_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ringbuffer_test.cpp b/test/ringbuffer_test.cpp
index 67b740f..59529e8 100644
--- a/test/ringbuffer_test.cpp
+++ b/test/ringbuffer_test.cpp
@@ -22,7 +22,7 @@ namespace {
using RingBuffer = raul::RingBuffer;
struct Context {
- std::unique_ptr<RingBuffer> ring{};
+ std::unique_ptr<RingBuffer> ring;
size_t n_writes{0};
};