mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Pass parameters of constructor by address
Spotted by Coverity scan.
This commit is contained in:
parent
951cb62f47
commit
100075c890
@ -196,7 +196,7 @@ docstring InsetPrintNomencl::screenLabel() const
|
|||||||
|
|
||||||
struct NomenclEntry {
|
struct NomenclEntry {
|
||||||
NomenclEntry() : par(nullptr) {}
|
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)
|
: symbol(s), desc(d), par(p)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user