Fixed 4 gcc warnings (2x order, 1x explicit constructor, 1x GUI / from related)

This commit is contained in:
Klaus Basan
2014-01-17 20:05:00 +01:00
parent 222756e7ac
commit 16dc959662
4 changed files with 9 additions and 9 deletions

View File

@@ -31,8 +31,8 @@ namespace BlackCore
CNetworkVatlib::CNetworkVatlib(CNetworkVatlib::LoginMode loginMode, QObject *parent)
: INetwork(parent),
m_net(Cvatlib_Network::Create()),
m_status(Cvatlib_Network::connStatus_Idle),
m_loginMode(loginMode),
m_status(Cvatlib_Network::connStatus_Idle),
m_fsdTextCodec(QTextCodec::codecForName("latin1"))
{
try

View File

@@ -25,7 +25,7 @@ namespace BlackMisc
* (The implicitly generated copy constructor would suffice, but for what seems to be a bug in MSVC2010 template instantiation)
*/
template <class MU, class PQ> CPhysicalQuantity<MU, PQ>::CPhysicalQuantity(const CPhysicalQuantity &other) :
m_value(other.m_value), m_unit(other.m_unit)
CValueObject(), m_value(other.m_value), m_unit(other.m_unit)
{
// void
}