Gtk: Multiple assignment syntax.

This commit is contained in:
BearOso 2023-03-11 16:47:07 -06:00
parent 3378d6cc02
commit 87bb383797
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ std::tuple<int, int> WaylandSurface::get_size()
void WaylandSurface::resize()
{
int w, h; std::tie(w, h) = get_size();
auto [w, h] = get_size();
wl_subsurface_set_position(subsurface, x, y);
if (!viewport)