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:
Rafael Kitover 2023-02-01 13:27:22 +00:00
parent 266512fbbc
commit aabb70cb85
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 1 additions and 1 deletions

View File

@ -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(), &&micro = wxver.GetMicro();
if (!(major > 3 || (major == 3 && (minor > 2 || (minor == 2 && micro >= 2))))) {
int x, y;