Am Mon, 14 Jul 2025 10:20:59 +0000 schrieb Jean-Marc Lasgouttes <[email protected]>:
> commit c6aee1c65531578d6128e06839dde168ede1d988 > Author: Jean-Marc Lasgouttes <[email protected]> > Date: Mon Jul 14 12:19:47 2025 +0200 > > Avoid clang warning > > Fixes: > > error: destructor called on non-final 'lyx::support::ForkedCall' that has > virtual > functions but non-virtual destructor > [-Werror,-Wdelete-non-abstract-non-virtual-dtor] --- > src/support/ForkedCalls.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/support/ForkedCalls.h b/src/support/ForkedCalls.h > index ac7b45e08d..84aeac9679 100644 > --- a/src/support/ForkedCalls.h > +++ b/src/support/ForkedCalls.h > @@ -149,7 +149,7 @@ private: > * function. > */ > > -class ForkedCall : public ForkedProcess { > +class ForkedCall final : public ForkedProcess { > public: > /// > ForkedCall(std::string const & path = empty_string(), Still 1 remaining: /usr2/src/lyx/lyx-test/src/LayoutFile.cpp:53:3: error: delete called on non-final 'lyx::LayoutFile' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor] 53 | delete it->second; | ^ /usr2/src/lyx/lyx-test/src/LayoutFile.cpp:204:2: error: delete called on non-final 'lyx::LayoutFile' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor] 204 | delete tc; | ^ /usr2/src/lyx/lyx-test/src/LayoutFile.cpp:357:3: error: delete called on non-final 'lyx::LayoutFile' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor] 357 | deleteclassmap_[textclass]; | ^ 3 errors generated. Kornel
pgpTEPUNnafYn.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
