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

@@ -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);