etl
42546176 - Fix uninitialised warning in etl::optional (#381)

Commit
3 years ago
Fix uninitialised warning in etl::optional (#381) The constructors of etl::optional with no argument or with etl::nullopt_t argument do not initalise the storage data member. When compiling with gcc with some specific optimisation levels, this can generate a -Wmaybe-uninitialized diagnostic warning.
Author
Parents
Loading