Reordered initialization of ClientLogic members to avoid a warning.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2402 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-12-19 12:17:09 +00:00
parent 8a508da4cc
commit c17e4d466a
1 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ inline void activatePageCalls(ClientLogic* logic, Window* wnd = 0)
*/
// contructor, the object appends itself to the Client's list of this kind of objects
ClientLogic::ClientLogic()
: m_name("default"), m_prio(100), m_durationMutex(true)
: m_durationMutex(true), m_name("default"), m_prio(100)
{
Debug(ClientDriver::self(),DebugAll,"ClientLogic(%s) [%p]",m_name.c_str(),this);
Client::addLogic(this);
@ -185,7 +185,7 @@ ClientLogic::ClientLogic()
// constructor, specifies a name
ClientLogic::ClientLogic(const char* name, int priority)
: m_name(name), m_prio(priority), m_durationMutex(true)
: m_durationMutex(true), m_name(name), m_prio(priority)
{
Debug(ClientDriver::self(),DebugAll,"ClientLogic(%s) [%p]",m_name.c_str(),this);
Client::addLogic(this);