Fix a MSVC compiler warning about unreachable code
This commit is contained in:
parent
87cee41680
commit
b6c7273fb5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue