mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Make string parameter a const reference
Spotted by Coverity scan.
This commit is contained in:
parent
8e181e992d
commit
9b3c28178c
@ -82,7 +82,7 @@ static docstring fix_name(string const & str, bool big)
|
||||
}
|
||||
|
||||
struct MathSymbol {
|
||||
MathSymbol(char_type uc = '?', string icon = string())
|
||||
MathSymbol(char_type uc = '?', string const & icon = string())
|
||||
: unicode(uc), icon(icon)
|
||||
{}
|
||||
char_type unicode;
|
||||
|
Loading…
Reference in New Issue
Block a user