[LyX/master] Fixup de5f63eeb: the code did not do what it was supposed to
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Thu Jun 6 06:55:36 UTC 2024
Le 06/06/2024 à 08:48, Jean-Marc Lasgouttes a écrit :
> commit 92ef555abde86466b7ca3c3401ab8132258fc497
> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> Date: Wed Jun 5 23:05:22 2024 +0200
>
> Fixup de5f63eeb: the code did not do what it was supposed to
Riki,
I think this should go to 2.4.x too ;) It took me time to see the issue.
This was also the occasion to discover the "ref-qualified member
functions" syntax. Does not look like something I was waiting for.
https://stackoverflow.com/questions/19474374/what-is-the-purpose-of-ref-qualified-member-functions
JMarc
> ---
> src/insets/InsetLayout.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/insets/InsetLayout.h b/src/insets/InsetLayout.h
> index 0848adef45..ce45214e7e 100644
> --- a/src/insets/InsetLayout.h
> +++ b/src/insets/InsetLayout.h
> @@ -200,7 +200,7 @@ public:
> ///
> bool docbookrenderasimage() const { return docbookrenderasimage_; }
> ///
> - std::set<std::string> required() const & { return required_; }
> + std::set<std::string> const & required() const { return required_; }
> ///
> bool isMultiPar() const { return multipar_; }
> ///
More information about the lyx-devel
mailing list