fixed gcc warnings: initializing order
or your changes. Lines starting
This commit is contained in:
parent
c6da70daba
commit
b1549e83cf
|
|
@ -30,10 +30,10 @@ struct ClientExceptionCleaner
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
ClientPrivate::ClientPrivate( Client * q ) :
|
ClientPrivate::ClientPrivate( Client * q ) :
|
||||||
pq_ptr(q)
|
port(AMQPPORT)
|
||||||
, port(AMQPPORT)
|
|
||||||
, host(QString::fromLatin1(AMQPHOST))
|
, host(QString::fromLatin1(AMQPHOST))
|
||||||
, virtualHost(QString::fromLatin1(AMQPVHOST))
|
, virtualHost(QString::fromLatin1(AMQPVHOST))
|
||||||
|
, pq_ptr(q)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -131,10 +131,10 @@ void QAMQP::Channel::setQOS( qint32 prefetchSize, quint16 prefetchCount )
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
ChannelPrivate::ChannelPrivate(Channel * q)
|
ChannelPrivate::ChannelPrivate(Channel * q)
|
||||||
:pq_ptr(q)
|
: number(0)
|
||||||
, number(0)
|
|
||||||
, opened(false)
|
, opened(false)
|
||||||
, needOpen(true)
|
, needOpen(true)
|
||||||
|
, pq_ptr(q)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,9 +37,9 @@ namespace QAMQP
|
||||||
|
|
||||||
|
|
||||||
ConnectionPrivate::ConnectionPrivate( Connection * q)
|
ConnectionPrivate::ConnectionPrivate( Connection * q)
|
||||||
:pq_ptr(q)
|
: closed_(false)
|
||||||
, closed_(false)
|
|
||||||
, connected(false)
|
, connected(false)
|
||||||
|
, pq_ptr(q)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
using namespace QAMQP::Frame;
|
using namespace QAMQP::Frame;
|
||||||
Base::Base( Type type ) :type_(type), channel_(0), size_(0) {}
|
Base::Base( Type type ) : size_(0), type_(type), channel_(0) {}
|
||||||
|
|
||||||
Base::Base( QDataStream& raw )
|
Base::Base( QDataStream& raw )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -180,8 +180,8 @@ QueuePrivate::QueuePrivate(Queue * q)
|
||||||
:ChannelPrivate(q)
|
:ChannelPrivate(q)
|
||||||
, deleyedDeclare(false)
|
, deleyedDeclare(false)
|
||||||
, declared(false)
|
, declared(false)
|
||||||
, recievingMessage(false)
|
|
||||||
, noAck(true)
|
, noAck(true)
|
||||||
|
, recievingMessage(false)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -564,4 +564,4 @@ void QueuePrivate::_q_body( int channeNumber, const QByteArray & body )
|
||||||
{
|
{
|
||||||
QMetaObject::invokeMethod(pq_func(), "messageRecieved");
|
QMetaObject::invokeMethod(pq_func(), "messageRecieved");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue