Fix constructor initialization order. Patch by Bill Lynch.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@108524 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/ThreadPlanCallFunction.cpp b/source/Target/ThreadPlanCallFunction.cpp
index 0309505..55e9d25 100644
--- a/source/Target/ThreadPlanCallFunction.cpp
+++ b/source/Target/ThreadPlanCallFunction.cpp
@@ -36,12 +36,12 @@
bool stop_other_threads,
bool discard_on_error) :
ThreadPlan (ThreadPlan::eKindCallFunction, "Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion),
- m_valid(false),
- m_process(thread.GetProcess()),
+ m_valid (false),
+ m_stop_other_threads (stop_other_threads),
m_arg_addr (arg),
m_args (NULL),
- m_thread(thread),
- m_stop_other_threads(stop_other_threads)
+ m_process (thread.GetProcess()),
+ m_thread (thread)
{
SetOkayToDiscard (discard_on_error);
@@ -90,12 +90,12 @@
bool stop_other_threads,
bool discard_on_error) :
ThreadPlan (ThreadPlan::eKindCallFunction, "Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion),
- m_valid(false),
- m_process(thread.GetProcess()),
+ m_valid (false),
+ m_stop_other_threads (stop_other_threads),
m_arg_addr (0),
m_args (&args),
- m_thread(thread),
- m_stop_other_threads(stop_other_threads)
+ m_process (thread.GetProcess()),
+ m_thread (thread)
{
SetOkayToDiscard (discard_on_error);