From de5f63eeb398046027180162272cc83099fdef55 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Sun, 19 May 2024 16:55:48 -0400 Subject: [PATCH] Return a reference, not a copy. Stupid mistake from 2009. Thanks to Scott and JMarc for tracking it down. --- 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 36a3c91bbf..0848adef45 100644 --- a/src/insets/InsetLayout.h +++ b/src/insets/InsetLayout.h @@ -200,7 +200,7 @@ public: /// bool docbookrenderasimage() const { return docbookrenderasimage_; } /// - std::set required() const { return required_; } + std::set required() const & { return required_; } /// bool isMultiPar() const { return multipar_; } ///