mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-18 05:34:07 -04:00
treewide: fix C++20 compilation error wrt. designated initializers
C++20 introduced designated initializers similar to the ones found in C99, however, in C++ designated initializers cannot be mixed with non-designated initializers. GCC rejects mixed initializers with an error.
This commit is contained in:
parent
2bc5d0914d
commit
da1dbc1120
6 changed files with 7 additions and 7 deletions
|
|
@ -41,7 +41,7 @@ static inline void spa_pod_dynamic_builder_init(struct spa_pod_dynamic_builder *
|
|||
void *data, uint32_t size, uint32_t extend)
|
||||
{
|
||||
static const struct spa_pod_builder_callbacks spa_pod_dynamic_builder_callbacks = {
|
||||
SPA_VERSION_POD_BUILDER_CALLBACKS,
|
||||
.version = SPA_VERSION_POD_BUILDER_CALLBACKS,
|
||||
.overflow = spa_pod_dynamic_builder_overflow
|
||||
};
|
||||
builder->b = SPA_POD_BUILDER_INIT(data, size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue