[LyX/master] Fix compilation problem
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Thu Jan 5 13:32:53 UTC 2023
Le 05/01/2023 à 05:10, Richard Kimberly Heck a écrit :
> The point of string_view is to avoid a copy here. Even with the use of
> const &, a copy has to be made of the original constant string, a const
> char *. Would it be OK to use instead:
>
> + Attributes(bool o, const char * entity)
>
> ?? I think so, but I avoid C-style strings whenever I can, out of paranoia.
I think we can live with the extra copy.
Thanks for the fix.
JMarc
More information about the lyx-devel
mailing list