mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #618, clang fixes
* use own default constructor error: default initialization of an object of const type 'const BlackMisc::CIcon' without a user-provided default constructor static const CIcon empty; * same for CDbOwnModelsComponent() * fixed guard
This commit is contained in:
@@ -35,6 +35,9 @@ namespace BlackGui
|
||||
IndexLastSimulator = BlackMisc::CPropertyIndex::GlobalIndexCDbOwnModelsComponent
|
||||
};
|
||||
|
||||
//! Constructor
|
||||
CDbOwnModelsComponent() {}
|
||||
|
||||
//! Simulator last selected
|
||||
const BlackMisc::Simulation::CSimulatorInfo &getLastSimulatorSelection() const { return m_simulator; }
|
||||
|
||||
|
||||
@@ -23,11 +23,7 @@
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CIcon;
|
||||
|
||||
namespace PhysicalQuantities
|
||||
{
|
||||
class CAngle;
|
||||
}
|
||||
namespace PhysicalQuantities { class CAngle; }
|
||||
|
||||
namespace Mixin
|
||||
{
|
||||
@@ -73,7 +69,7 @@ namespace BlackMisc
|
||||
{
|
||||
public:
|
||||
//! Default constructor.
|
||||
CIcon() = default;
|
||||
CIcon() {}
|
||||
|
||||
//! Constructor.
|
||||
CIcon(CIcons::IconIndex index, const QString &descriptiveText);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKMISC_SIMULATION_AIRCRAFTMODELSETLOADER_H
|
||||
#define BLACKMISC_SIMULATION_AIRCRAFTMODESETLLOADER_H
|
||||
#define BLACKMISC_SIMULATION_AIRCRAFTMODELSETLOADER_H
|
||||
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/simulation/aircraftmodellist.h"
|
||||
|
||||
Reference in New Issue
Block a user