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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user