mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Fix gcc 4.6 compilation.
If no initializer is specified for an object, and the object is of (possibly cv-qualified) non-POD class type (or array thereof), the object shall be default-initialized; if the object is of const-qualified type, the underlying class type shall have a user-declared default constructor. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37603 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4460f32dfd
commit
e5677802b2
@ -84,7 +84,7 @@ static ParamInfo const & findInfo(InsetCode code, string const & cmdName)
|
||||
default:
|
||||
LASSERT(false, /**/);
|
||||
}
|
||||
static const ParamInfo pi;
|
||||
static ParamInfo pi;
|
||||
return pi; // to silence the warning
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user