diff --git a/include/etl/optional.h b/include/etl/optional.h index 5ea0cd7b..328cabbe 100644 --- a/include/etl/optional.h +++ b/include/etl/optional.h @@ -112,7 +112,8 @@ namespace etl /// Constructor. //*************************************************************************** optional() - : valid(false) + : storage() + , valid(false) { } @@ -120,7 +121,8 @@ namespace etl /// Constructor with nullopt. //*************************************************************************** optional(etl::nullopt_t) - : valid(false) + : storage() + , valid(false) { }