diff options
author | David Robillard <d@drobilla.net> | 2023-02-03 14:42:49 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-02-03 14:42:49 -0500 |
commit | c4f719b1831e35663163e09a0d692c909c09d95f (patch) | |
tree | 678034df92cd373e8719b9b99506ea1e6a38fcff /test/build_test.cpp | |
parent | 3d685246480d5bd813f5d5f15a9352a9f4a1600c (diff) | |
download | raul-c4f719b1831e35663163e09a0d692c909c09d95f.tar.gz raul-c4f719b1831e35663163e09a0d692c909c09d95f.tar.bz2 raul-c4f719b1831e35663163e09a0d692c909c09d95f.zip |
Suppress/fix new warnings in clang-tidy 15
Diffstat (limited to 'test/build_test.cpp')
-rw-r--r-- | test/build_test.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/build_test.cpp b/test/build_test.cpp index 10f4aa3..8449ece 100644 --- a/test/build_test.cpp +++ b/test/build_test.cpp @@ -26,18 +26,18 @@ class NonCopyableThing : public raul::Noncopyable int main() { - raul::Array<int> array; - DeletableThing deletable; - raul::DoubleBuffer<int> double_buffer(0); - raul::Maid maid; - NonCopyableThing non_copyable; - raul::Path path; - raul::RingBuffer ring_buffer(64U); - raul::Semaphore semaphore(0U); - raul::Symbol symbol("foo"); + const raul::Array<int> array; + const DeletableThing deletable; + const raul::DoubleBuffer<int> double_buffer(0); + const raul::Maid maid; + const NonCopyableThing non_copyable; + const raul::Path path; + const raul::RingBuffer ring_buffer(64U); + const raul::Semaphore semaphore(0U); + const raul::Symbol symbol("foo"); try { - raul::Symbol bad_symbol("not a valid symbol!"); + const raul::Symbol bad_symbol("not a valid symbol!"); (void)bad_symbol; } catch (const raul::Exception&) { } @@ -46,7 +46,7 @@ main() const char* cmd[] = {"echo"}; raul::Process::launch(cmd); - raul::Socket socket(raul::Socket::Type::UNIX); + const raul::Socket socket(raul::Socket::Type::UNIX); (void)socket; #endif |