Fix Windows buildbot failure after rev 243301
authorYing Chen <chying@google.com>
Mon, 27 Jul 2015 21:47:14 +0000 (21:47 +0000)
committerYing Chen <chying@google.com>
Mon, 27 Jul 2015 21:47:14 +0000 (21:47 +0000)
Summary:
- Visual Studio doesn't support "list initialization inside member initializer list"
- Call inner struct constructor explicitly

Reviewers:
enrico
Subscribers:
lldb-commits

llvm-svn: 243332

lldb/include/lldb/DataFormatters/ValueObjectPrinter.h

index 0a91aca..409b160 100644 (file)
@@ -79,7 +79,7 @@ struct DumpValueObjectOptions
     DumpValueObjectOptions() :
     m_summary_sp(),
     m_root_valobj_name(),
-    m_max_ptr_depth{PointerDepth::Mode::Default,0},
+    m_max_ptr_depth(PointerDepth{PointerDepth::Mode::Default,0}),
     m_use_synthetic(true),
     m_scope_already_checked(false),
     m_flat_output(false),