Fix some order-of-initialisation warnings

llvm-svn: 132588
This commit is contained in:
Peter Collingbourne 2011-06-03 20:41:09 +00:00
parent 10bc01032c
commit 6b5f17a586
2 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ namespace imp
class shared_ptr_refcount : public lldb_private::imp::shared_count
{
public:
template<class Y> shared_ptr_refcount (Y *in) : manager(in), shared_count (0) {}
template<class Y> shared_ptr_refcount (Y *in) : shared_count (0), manager(in) {}
shared_ptr_refcount() : shared_count (0) {}
@ -44,8 +44,8 @@ class ClusterManager
{
public:
ClusterManager () :
m_external_ref(0),
m_objects(),
m_external_ref(0),
m_mutex(Mutex::eMutexTypeNormal) {}
~ClusterManager ()

View File

@ -45,10 +45,10 @@ ThreadPlanCallFunction::ThreadPlanCallFunction (Thread &thread,
ThreadPlan (ThreadPlan::eKindCallFunction, "Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion),
m_valid (false),
m_stop_other_threads (stop_other_threads),
m_function_sp (NULL),
m_process (thread.GetProcess()),
m_thread (thread),
m_takedown_done (false),
m_function_sp (NULL)
m_takedown_done (false)
{
SetOkayToDiscard (discard_on_error);
@ -158,10 +158,10 @@ ThreadPlanCallFunction::ThreadPlanCallFunction (Thread &thread,
ThreadPlan (ThreadPlan::eKindCallFunction, "Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion),
m_valid (false),
m_stop_other_threads (stop_other_threads),
m_function_sp(NULL),
m_process (thread.GetProcess()),
m_thread (thread),
m_takedown_done (false),
m_function_sp(NULL)
m_takedown_done (false)
{
SetOkayToDiscard (discard_on_error);