Fix some order-of-initialisation warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132588 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/ThreadPlanCallFunction.cpp b/source/Target/ThreadPlanCallFunction.cpp
index 40ee45f..163322a 100644
--- a/source/Target/ThreadPlanCallFunction.cpp
+++ b/source/Target/ThreadPlanCallFunction.cpp
@@ -45,10 +45,10 @@
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 @@
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);