mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Fixed 4 gcc warnings (2x order, 1x explicit constructor, 1x GUI / from related)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user