diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-07-05 18:15:16 +0200 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-07-08 10:11:00 +0200 |
commit | a2e0291172e31256b57cca85bcdaf88c2659bc72 (patch) | |
tree | 7a64fbb53ff8565a691e14f01587fb6b4994dc64 /Userland/Services | |
parent | ca06fd658d936ce249bf02f7bdbb5e44dfcfab9f (diff) | |
download | serenity-a2e0291172e31256b57cca85bcdaf88c2659bc72.zip |
WindowServer: Don't use old GNU-style designator
Since we use C++20, we can move to the new standardized designated
initializer syntax.
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/WindowServer/ScreenLayout.ipp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Services/WindowServer/ScreenLayout.ipp b/Userland/Services/WindowServer/ScreenLayout.ipp index 6478724de4..7428a4ebdb 100644 --- a/Userland/Services/WindowServer/ScreenLayout.ipp +++ b/Userland/Services/WindowServer/ScreenLayout.ipp @@ -241,10 +241,10 @@ bool ScreenLayout::try_auto_add_framebuffer(String const& device_path) if (!collision) { screens.append({ - device : device_path, - location : new_screen_rect.location(), - resolution : new_screen_rect.size(), - scale_factor : 1 + .device = device_path, + .location = new_screen_rect.location(), + .resolution = new_screen_rect.size(), + .scale_factor = 1 }); if (is_valid()) { |