[Lldb-commits] [lldb] r247875 - Visual Studio seems to consider this invocation ambiguous. Try to clarify what I mean
Enrico Granata via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 16 18:13:13 PDT 2015
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
More information about the lldb-commits
mailing list