Author: enrico Date: Wed Sep 16 20:13:12 2015 New Revision: 247875 URL: http://llvm.org/viewvc/llvm-project?rev=247875&view=rev Log: Visual Studio seems to consider this invocation ambiguous. Try to clarify what I mean
Modified: lldb/trunk/include/lldb/DataFormatters/FormatManager.h Modified: lldb/trunk/include/lldb/DataFormatters/FormatManager.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/DataFormatters/FormatManager.h?rev=247875&r1=247874&r2=247875&view=diff ============================================================================== --- lldb/trunk/include/lldb/DataFormatters/FormatManager.h (original) +++ lldb/trunk/include/lldb/DataFormatters/FormatManager.h Wed Sep 16 20:13:12 2015 @@ -70,9 +70,10 @@ public: TypeCategoryMap::Position pos, lldb::LanguageType lang) { + std::initializer_list<lldb::LanguageType> langs = {lang}; EnableCategory(category_name, pos, - {lang}); + langs); } void _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits