]> git.lyx.org Git - lyx.git/commitdiff
Return a reference, not a copy.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 19 May 2024 20:55:48 +0000 (16:55 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 19 May 2024 22:30:56 +0000 (18:30 -0400)
Stupid mistake from 2009. Thanks to Scott and JMarc for tracking
it down.

(cherry picked from commit de5f63eeb398046027180162272cc83099fdef55)

src/insets/InsetLayout.h

index 6700100252a24b3996938b5d5359c1ad4f407b18..7593d844d52637af1b3da7406199316f99be296c 100644 (file)
@@ -200,7 +200,7 @@ public:
        ///
        bool docbookrenderasimage() const { return docbookrenderasimage_; }
        ///
-       std::set<std::string> required() const { return required_; }
+       std::set<std::string> required() const { return required_; }
        ///
        bool isMultiPar() const { return multipar_; }
        ///