config/Data: automatic initialization
This commit is contained in:
parent
d6529d8c60
commit
8c366f0774
@ -28,8 +28,8 @@ struct ConfigParam;
|
|||||||
struct ConfigBlock;
|
struct ConfigBlock;
|
||||||
|
|
||||||
struct ConfigData {
|
struct ConfigData {
|
||||||
std::array<ConfigParam *, std::size_t(ConfigOption::MAX)> params;
|
std::array<ConfigParam *, std::size_t(ConfigOption::MAX)> params{{nullptr}};
|
||||||
std::array<ConfigBlock *, std::size_t(ConfigBlockOption::MAX)> blocks;
|
std::array<ConfigBlock *, std::size_t(ConfigBlockOption::MAX)> blocks{{nullptr}};
|
||||||
|
|
||||||
void Clear();
|
void Clear();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user