compilerplugins/clang/test/redundantcast.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit be58058b0e49cceff1732535b5a9ab57aeb9aa7c Author: Stephan Bergmann <[email protected]> AuthorDate: Fri Aug 4 20:21:25 2023 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Fri Aug 4 23:07:32 2023 +0200 Avoid "function 'testDynamicCast()::S1::~S1' has internal linkage... ...but is not defined" Change-Id: Ib1350d5d34eef0d544ca8f436ae63c693b7d2f5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155354 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/compilerplugins/clang/test/redundantcast.cxx b/compilerplugins/clang/test/redundantcast.cxx index f3573d0ad20d..47a155c64b37 100644 --- a/compilerplugins/clang/test/redundantcast.cxx +++ b/compilerplugins/clang/test/redundantcast.cxx @@ -348,7 +348,7 @@ void testSuspiciousReinterpretCast() { void testDynamicCast() { - struct S1 { virtual ~S1(); }; + struct S1 { virtual ~S1() {} }; struct S2 final: S1 {}; struct S3: S1 {};
