Commit ad793852 authored by Scott Vokes's avatar Scott Vokes
Browse files

Don't use designated initializer for struct w/ const fields due to gcc.

clang allows it; gcc is probably in the wrong here. Instead of setting
the struct as a whole with a designated initializer, and keeping
const semantics, cast and mutate to set the const fields the first
time.
parent eab12d9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment