13
0

is there a better way to make gcc+enumwriter happy?

This commit is contained in:
Robin Gareus 2015-09-29 15:50:43 +02:00
parent 3f8857b129
commit 48b904fcee

View File

@ -1285,7 +1285,8 @@ AudioRegionView::create_one_wave (uint32_t which, bool /*direct*/)
/* Restore stacked coverage */
std::string str = trackview.gui_property ("layer-display");
if (!str.empty()) {
update_coverage_frames (LayerDisplay (string_2_enum (str, LayerDisplay::Stacked)));
LayerDisplay layer_display;
update_coverage_frames (LayerDisplay (string_2_enum (str, layer_display)));
}
}