13
0

Adds an assert to fail explicitely

This commit is contained in:
Mathias Buhr 2016-02-26 22:35:58 +01:00 committed by Paul Davis
parent 7ce373e6f0
commit 2bd7b4afb8

View File

@ -432,6 +432,8 @@ Mixer_UI::add_strips (RouteList& routes)
}
} catch (const std::exception& e) {
// this should never happen as it leaks memory and leaves connections established
assert(false);
error << string_compose (_("Error adding GUI elements for new tracks/busses %1"), e.what()) << endmsg;
}