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:
Klaus Basan
2016-03-30 16:35:35 +02:00
parent fe677a5594
commit 126ad26261
3 changed files with 6 additions and 7 deletions

View File

@@ -35,6 +35,9 @@ namespace BlackGui
IndexLastSimulator = BlackMisc::CPropertyIndex::GlobalIndexCDbOwnModelsComponent
};
//! Constructor
CDbOwnModelsComponent() {}
//! Simulator last selected
const BlackMisc::Simulation::CSimulatorInfo &getLastSimulatorSelection() const { return m_simulator; }