Fix a MSVC compiler warning about unreachable code

This commit is contained in:
Jyrki Vesterinen 2016-09-24 11:52:06 +03:00
parent 87cee41680
commit b6c7273fb5

View file

@ -225,8 +225,8 @@ tbuilder_widget_ptr create_builder_widget(const config& cfg)
#undef TRY
#endif
// FAIL() doesn't return
FAIL("Unknown widget type " + cfg.ordered_begin()->key);
return nullptr;
}
/*WIKI