diff --git a/src/insets/InsetNomencl.cpp b/src/insets/InsetNomencl.cpp index c62d9a1a62..5095a068a9 100644 --- a/src/insets/InsetNomencl.cpp +++ b/src/insets/InsetNomencl.cpp @@ -196,7 +196,7 @@ docstring InsetPrintNomencl::screenLabel() const struct NomenclEntry { NomenclEntry() : par(nullptr) {} - NomenclEntry(docstring s, docstring d, Paragraph const * p) + NomenclEntry(docstring const & s, docstring const & d, Paragraph const * p) : symbol(s), desc(d), par(p) {}