[DataVisualization] Simplify. NFCI.

This commit is contained in:
Davide Italiano 2019-12-03 14:54:59 -08:00
parent 705a6aef35
commit 89618a7ce1
1 changed files with 1 additions and 2 deletions

View File

@ -122,8 +122,7 @@ void DataVisualization::Categories::Enable(ConstString category,
TypeCategoryMap::Position pos) {
if (GetFormatManager().GetCategory(category)->IsEnabled())
GetFormatManager().DisableCategory(category);
GetFormatManager().EnableCategory(
category, pos, std::initializer_list<lldb::LanguageType>());
GetFormatManager().EnableCategory(category, pos, {});
}
void DataVisualization::Categories::Enable(lldb::LanguageType lang_type) {