mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
aco: use c++17
std::map::try_emplace requires C++17, so we need to make sure we're compiling with C++17 enabled. Fixes:8aff7152a0("aco: make IDSet sparse") Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23047> (cherry picked from commitdf1d1ccb37)
This commit is contained in:
parent
a8f93f86d5
commit
d984d8a2e2
2 changed files with 2 additions and 1 deletions
|
|
@ -2092,7 +2092,7 @@
|
|||
"description": "aco: use c++17",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "8aff7152a0f9848083a522ed5e352d8ac1469fc2"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ _libaco = static_library(
|
|||
gnu_symbol_visibility : 'hidden',
|
||||
build_by_default : true,
|
||||
cpp_args : [cpp_args_aco, cpp_msvc_compat_args],
|
||||
override_options: ['cpp_std=c++17'],
|
||||
)
|
||||
|
||||
# Also link with aco
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue