Commit 29f1d192 authored by ahoms's avatar ahoms
Browse files

* changed reference members by pointers to allow

  default operator = (needed by sip) to compile


git-svn-id: https://scm.blissgarden.org/svn/lima/trunk@167 45c4679d-1946-429d-baad-37912b19538b
parent 5bc46e96
......@@ -141,7 +141,7 @@ class CmdThread
virtual ~AuxThread();
protected:
void threadFunction();
CmdThread& m_master;
CmdThread *m_master;
};
friend class AuxThread;
void cmdLoop();
......
......@@ -247,7 +247,7 @@ void *Thread::staticThreadFunction(void *data)
CmdThread::AuxThread::AuxThread(CmdThread& master)
: m_master(master)
: m_master(&master)
{
}
......@@ -257,7 +257,7 @@ CmdThread::AuxThread::~AuxThread()
void CmdThread::AuxThread::threadFunction()
{
m_master.cmdLoop();
m_master->cmdLoop();
}
CmdThread::CmdThread()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment