[Lldb-commits] [lldb] r210881 - Interpreter: explicitly initialize base class

Saleem Abdulrasool compnerd at compnerd.org
Thu Jun 12 20:30:45 PDT 2014


Author: compnerd
Date: Thu Jun 12 22:30:45 2014
New Revision: 210881

URL: http://llvm.org/viewvc/llvm-project?rev=210881&view=rev
Log:
Interpreter: explicitly initialize base class

Initialise base class std::enable_shared_from_this explicitly.  Identified by
GCC.

Modified:
    lldb/trunk/source/Interpreter/OptionValueProperties.cpp

Modified: lldb/trunk/source/Interpreter/OptionValueProperties.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionValueProperties.cpp?rev=210881&r1=210880&r2=210881&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/OptionValueProperties.cpp (original)
+++ lldb/trunk/source/Interpreter/OptionValueProperties.cpp Thu Jun 12 22:30:45 2014
@@ -35,6 +35,7 @@ OptionValueProperties::OptionValueProper
 
 OptionValueProperties::OptionValueProperties (const OptionValueProperties &global_properties) :
     OptionValue (global_properties),
+    std::enable_shared_from_this<OptionValueProperties> (),
     m_name (global_properties.m_name),
     m_properties (global_properties.m_properties),
     m_name_to_index (global_properties.m_name_to_index)





More information about the lldb-commits mailing list