mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
Pass variable by reference
Spotted by cppcheck
This commit is contained in:
parent
17c827d177
commit
b42e6e96d8
@ -168,7 +168,7 @@ void InsetMathDecoration::infoize(odocstream & os) const
|
||||
namespace {
|
||||
struct Attributes {
|
||||
Attributes() : over(false) {}
|
||||
Attributes(bool o, string t)
|
||||
Attributes(bool o, string const & t)
|
||||
: over(o), tag(t) {}
|
||||
bool over;
|
||||
string tag;
|
||||
|
Loading…
Reference in New Issue
Block a user