Commit 8c366f07 authored by Max Kellermann's avatar Max Kellermann

config/Data: automatic initialization

parent d6529d8c
...@@ -28,8 +28,8 @@ struct ConfigParam; ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment