Pass parameters of constructor by address

Spotted by Coverity scan.
This commit is contained in:
Jean-Marc Lasgouttes 2024-09-11 16:25:45 +02:00
parent 951cb62f47
commit 100075c890

View File

@ -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)
{}