Issue #77 toIcon returns a simple enum instead of a full object

This commit is contained in:
Mat Sutcliffe
2020-10-26 22:55:10 +00:00
parent 59bbac9a1f
commit b1185eb541
61 changed files with 157 additions and 171 deletions

View File

@@ -161,9 +161,9 @@ namespace BlackMisc
LATorLON *CEarthAngle<LATorLON>::derived() { return static_cast<LATorLON *>(this); }
template <class LATorLON>
CIcon CEarthAngle<LATorLON>::toIcon() const
CIcons::IconIndex CEarthAngle<LATorLON>::toIcon() const
{
return BlackMisc::CIcon::iconByIndex(CIcons::GeoPosition);
return CIcons::GeoPosition;
}
template<class LATorLON>

View File

@@ -45,7 +45,7 @@ namespace BlackMisc
LATorLON operator *(double multiply) const;
//! \copydoc BlackMisc::Mixin::Icon::toIcon
CIcon toIcon() const;
CIcons::IconIndex toIcon() const;
/*!
* Latitude / Longitude from a WGS string such as