Author: dmalea
Date: Mon Sep 30 18:12:05 2013
New Revision: 191709
URL: http://llvm.org/viewvc/llvm-project?rev=191709&view=rev
Log:
Fix build with GCC 4.6.2 (non-c++11 compilant compiler)
- delegating c'tors not supported
Modified:
lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp
Modified: lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp?rev=191709&r1=191708&r2=191709&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp (original)
+++ lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp Mon Sep 30 18:12:05
2013
@@ -48,11 +48,22 @@ ValueObjectPrinter::ValueObjectPrinter (
const DumpValueObjectOptions& options,
uint32_t ptr_depth,
uint32_t curr_depth) :
- ValueObjectPrinter(valobj,s,options)
-{
- m_ptr_depth = ptr_depth;
- m_curr_depth = curr_depth;
-}
+ m_orig_valobj(valobj),
+ m_valobj(nullptr),
+ m_stream(s),
+ options(options),
+ m_ptr_depth(ptr_depth),
+ m_curr_depth(curr_depth),
+ m_should_print(eLazyBoolCalculate),
+ m_is_nil(eLazyBoolCalculate),
+ m_is_ptr(eLazyBoolCalculate),
+ m_is_ref(eLazyBoolCalculate),
+ m_is_aggregate(eLazyBoolCalculate),
+ m_summary_formatter({nullptr,false}),
+ m_value(),
+ m_summary(),
+ m_error()
+{ }
bool
ValueObjectPrinter::PrintValueObject ()
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits