Skip to content

Commit 89618a7

Browse files
author
Davide Italiano
committed
[DataVisualization] Simplify. NFCI.
1 parent 705a6ae commit 89618a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/DataFormatters/DataVisualization.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ void DataVisualization::Categories::Enable(ConstString category,
122122
TypeCategoryMap::Position pos) {
123123
if (GetFormatManager().GetCategory(category)->IsEnabled())
124124
GetFormatManager().DisableCategory(category);
125-
GetFormatManager().EnableCategory(
126-
category, pos, std::initializer_list<lldb::LanguageType>());
125+
GetFormatManager().EnableCategory(category, pos, {});
127126
}
128127

129128
void DataVisualization::Categories::Enable(lldb::LanguageType lang_type) {

0 commit comments

Comments
 (0)