mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-21 02:42:18 +00:00
Adjust designated initializer to be C++20 compliant. Starting with g++-16, GCC will default to the C++20 standard. [sam: Note that it was sent upstream to the spice-devel ML but is not yet in the archives.] Signed-off-by: Nicholas Vinson <nvinson234@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44870 Closes: https://github.com/gentoo/gentoo/pull/44870 Signed-off-by: Sam James <sam@gentoo.org>
24 lines
850 B
Diff
24 lines
850 B
Diff
Adjust designated initializer to be C++20 compliant. Starting with
|
|
g++-16, GCC will default to the C++20 standard.
|
|
|
|
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
|
|
---
|
|
server/tests/test-display-base.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/server/tests/test-display-base.cpp b/server/tests/test-display-base.cpp
|
|
index b220b7fe..5d0404c9 100644
|
|
--- a/server/tests/test-display-base.cpp
|
|
+++ b/server/tests/test-display-base.cpp
|
|
@@ -806,7 +806,7 @@ static QXLInterface display_sif = {
|
|
.major_version = SPICE_INTERFACE_QXL_MAJOR,
|
|
.minor_version = SPICE_INTERFACE_QXL_MINOR
|
|
},
|
|
- { .attached_worker = attached_worker },
|
|
+ .attached_worker = attached_worker,
|
|
.set_compression_level = set_compression_level,
|
|
.set_mm_time = nullptr,
|
|
.get_init_info = get_init_info,
|
|
--
|
|
2.52.0
|
|
|