Le 21/11/2022 à 11:17, Pavel Sanda a écrit :
On Mon, Nov 21, 2022 at 10:09:15AM +0100, Jean-Marc Lasgouttes wrote:
I cannot really understand what the destroyed temporary is.

Don't we create and return temp at GuiApplication.cpp:3695 ?
If you look above at theFontLoader (GuiApplication.cpp 3689)
we do similar logic but we reserve font_loader_ for the construct.

If it was in GuiApplication, the warning will be there, wouldn't it? And it seems to me that addresses are consistently returned, which point to an array cell (which s not going away).

> Or we could stop use & so copy happens.

I am not sure that we would want that.

JMarc
--
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to