diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/.clang-tidy | 1 | ||||
-rw-r--r-- | test/cpp/test_lilv_hpp.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/.clang-tidy b/test/cpp/.clang-tidy index 8e5e749..5d20fa0 100644 --- a/test/cpp/.clang-tidy +++ b/test/cpp/.clang-tidy @@ -12,6 +12,7 @@ Checks: > -hicpp-no-array-decay, -misc-non-private-member-variables-in-classes, -modernize-return-braced-init-list, + -modernize-use-nodiscard, -modernize-use-trailing-return-type, -readability-implicit-bool-conversion, HeaderFilterRegex: '.*/lilvmm\.hpp' diff --git a/test/cpp/test_lilv_hpp.cpp b/test/cpp/test_lilv_hpp.cpp index 57cbda1..7e6de72 100644 --- a/test/cpp/test_lilv_hpp.cpp +++ b/test/cpp/test_lilv_hpp.cpp @@ -6,7 +6,7 @@ int main() { - Lilv::World world{}; + const Lilv::World world{}; return 0; } |