Skip to content

Commit

Permalink
blosc2.h: Avoid C++20 Designated Init
Browse files Browse the repository at this point in the history
See #526.
Designated initializers are in C99 but only in C++20, too.
  • Loading branch information
ax3l authored and FrancescAlted committed Jul 3, 2023
1 parent 09a3bcc commit 26cd3cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/blosc2.h
Original file line number Diff line number Diff line change
Expand Up @@ -1053,9 +1053,9 @@ typedef struct {
} blosc2_io;

static const blosc2_io BLOSC2_IO_DEFAULTS = {
.id = BLOSC2_IO_FILESYSTEM,
.name = "filesystem",
.params = NULL,
/* .id = */ BLOSC2_IO_FILESYSTEM,
/* .name = */ "filesystem",
/* .params = */ NULL,
};


Expand Down

0 comments on commit 26cd3cb

Please sign in to comment.