Fix linux clang errors and warnings

refs #596
This commit is contained in:
Roland Winklmeier
2016-02-11 16:44:18 +01:00
parent 2da4a3e47e
commit 7953d550ea
28 changed files with 48 additions and 48 deletions

View File

@@ -188,7 +188,7 @@ namespace BlackMisc
std::array<double, 3> CCoordinateGeodetic::normalVectorDouble() const
{
return { this->m_x, this->m_y, this->m_z };
return { { this->m_x, this->m_y, this->m_z } };
}
void CCoordinateGeodetic::setLatitude(const CLatitude &latitude)

View File

@@ -169,10 +169,10 @@ namespace BlackMisc
virtual const BlackMisc::PhysicalQuantities::CLength &geodeticHeight() const override { return this->m_geodeticHeight; }
//! \copydoc ICoordinateGeodetic::normalVector
virtual QVector3D normalVector() const;
virtual QVector3D normalVector() const override;
//! \copydoc ICoordinateGeodetic::normalVectorDouble
virtual std::array<double, 3> normalVectorDouble() const;
virtual std::array<double, 3> normalVectorDouble() const override;
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;