Followup on be1e5ca1
, wrong ref var declaration
Fix rvalue variable declarations in be1e5ca1
, the && associates with the
variable, not the type.
This has no effect on functionality.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
266512fbbc
commit
aabb70cb85
|
@ -34,7 +34,7 @@ void MoveWaylandSubsurface(wxGLCanvasEGL* win)
|
|||
// compiled against 3.2.0 or 3.2.1 but running with 3.2.2 after a distro
|
||||
// upgrade.
|
||||
auto&& wxver = wxGetLibraryVersionInfo();
|
||||
int&& major = wxver.GetMajor(), minor = wxver.GetMinor(), micro = wxver.GetMicro();
|
||||
int &&major = wxver.GetMajor(), &&minor = wxver.GetMinor(), &µ = wxver.GetMicro();
|
||||
|
||||
if (!(major > 3 || (major == 3 && (minor > 2 || (minor == 2 && micro >= 2))))) {
|
||||
int x, y;
|
||||
|
|
Loading…
Reference in New Issue