diff options
author | David Robillard <d@drobilla.net> | 2024-07-17 07:32:58 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-07-18 17:29:04 -0400 |
commit | f8b5ebceeed89454f3ac5c6a98b3ecfbd76b55ff (patch) | |
tree | e5adbb0f0c61dc3a62748590ded77f10d5a9ee00 /test/ringbuffer_test.cpp | |
parent | b2d78db908f35d963c84bcbe697f9cf9943019a8 (diff) | |
download | raul-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.cpp | 2 |
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}; }; |