[LyX/master] Add move constructor and move assignment operator for FileName class

Scott Kostyshak skostysh at lyx.org
Wed Jan 13 16:59:28 UTC 2021


On Wed, Jan 13, 2021 at 10:37:30AM +0100, Jean-Marc Lasgouttes wrote:
> Le 13/01/2021 à 10:21, Yuriy Skalko a écrit :
> > > Hi Yuriy,
> > > 
> > > I’m seeing a crash after this commit when using File->Open recent.
> > > 
> > > 
> > > I’m having 5 files in list and the first entry has nullptr as
> > > private data.
> > 
> > Hi Stephan,
> > Sorry for late answer. Does it crash always on choosing the first file
> > in Recent list? I cannot reproduce this on Windows and Linux (using GCC
> > in both cases) and suspect it is Clang-only issue.
> > 
> > As I understand Scott used Clang on Linux. Is this crash reproducible
> > there?
> 
> Note that it may depend on the library (libc++) rather than the compiler.

I just tested with Clang and cannot reproduce. Stephan, does the list need to have more than one "recent file"? Note that the recent files are stored in the "session" file. You could experiment by seeing if it depends on which file you choose or how many entries are in the menu.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210113/fdaa669e/attachment.asc>


More information about the lyx-devel mailing list