diff --git a/lldb/source/DataFormatters/DataVisualization.cpp b/lldb/source/DataFormatters/DataVisualization.cpp index 08b3b34447bba3..e73d44f60f03fa 100644 --- a/lldb/source/DataFormatters/DataVisualization.cpp +++ b/lldb/source/DataFormatters/DataVisualization.cpp @@ -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()); + GetFormatManager().EnableCategory(category, pos, {}); } void DataVisualization::Categories::Enable(lldb::LanguageType lang_type) {