File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ struct OrestesOneModule : Module {
442442 dsp::ClockDivider indicatorDivider;
443443
444444 /* * [Stored to Json] */
445- std::string pageLabels[ MAX_PAGES] ; // Current mapped module control page labels
445+ std::array<std:: string, MAX_PAGES> pageLabels{} ; // Current mapped module control page labels
446446
447447 // MEM-
448448 // Pointer of the MEM's attribute
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ struct OscOutput {
394394 dsp::ClockDivider lightDivider;
395395
396396 /* * [Stored to Json] */
397- std::string pageLabels[ MAX_PAGES] ; // Current mapped module control page labels
397+ std::array<std:: string, MAX_PAGES> pageLabels{} ; // Current mapped module control page labels
398398
399399 // MEM-
400400 // Pointer of the MEM's attribute
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ struct MemModule {
4646 std::string moduleName;
4747 bool autoMapped;
4848 std::list<MemParam*> paramMap;
49- std::array<std::string, MAX_PAGES> pageLabels;
49+ std::array<std::string, MAX_PAGES> pageLabels{} ;
5050 ~MemModule () {
5151 for (auto it : paramMap) delete it;
5252 }
You can’t perform that action at this time.
0 commit comments