Make it C++11 compatible
This commit is contained in:
parent
0e759d5523
commit
6bcf0c2d74
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user