]> git.lyx.org Git - features.git/blobdiff - src/BufferParams.h
Pass by const reference. Thanks Andre and Peter.
[features.git] / src / BufferParams.h
index 5dc05b3c38cbd2a58d270b47b6a491cfde429ea4..36ab933e4cc7d41df298376b8f0a592b7b1936dd 100644 (file)
@@ -133,7 +133,7 @@ public:
        /// need not be done if we know this isn't the final time through, or if
        /// the BufferParams do not represent the parameters for an actual buffer
        /// (as in GuiDocument).
-       bool addLayoutModule(std::string modName);
+       bool addLayoutModule(std::string const & modName);
        /// Clear the list
        void clearLayoutModules();