13
0

Make it C++11 compatible

This commit is contained in:
Holger Dehnhardt 2023-09-16 20:13:10 +02:00 committed by Paul Davis
parent 0e759d5523
commit 6bcf0c2d74

View File

@ -67,17 +67,17 @@ Console1::~Console1 ()
tear_down_gui (); tear_down_gui ();
for (const auto& [_, b] : buttons) { for( const auto &b : buttons ){
delete b; delete b.second;
} }
for (const auto& [_, b] : encoders) { for( const auto &e : encoders ){
delete b; delete e.second;
} }
for (const auto& [_, b] : meters) { for( const auto &m : meters ){
delete b; delete m.second;
} }
for (const auto& [_, b] : multi_buttons) { for( const auto &mb : multi_buttons ){
delete b; delete mb.second;
} }
/* stop event loop */ /* stop event loop */