]> 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 20:55:48 +0000 (16:55 -0400)
Stupid mistake from 2009. Thanks to Scott and JMarc for tracking
it down.

src/insets/InsetLayout.h

index 36a3c91bbfd184d5034cb8d7ddaee514ab974b9d..0848adef45c343a0868ea0fba2b28d3ce31df81d 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_; }
        ///