From c8e214cef4f9c5d5c58441daf146d89ed4716cc9 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 11 Jul 2018 03:20:18 +0200 Subject: [PATCH] Use Mixin::String so that string conversion is properly called for CElevationPlane --- src/blackmisc/geo/elevationplane.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/blackmisc/geo/elevationplane.h b/src/blackmisc/geo/elevationplane.h index 0f774ad68..6522357d8 100644 --- a/src/blackmisc/geo/elevationplane.h +++ b/src/blackmisc/geo/elevationplane.h @@ -13,6 +13,7 @@ #define BLACKMISC_GEO_ELEVATIONPLANE_H #include "blackmisc/geo/coordinategeodetic.h" +#include "blackmisc/stringutils.h" #include "blackmisc/blackmiscexport.h" namespace BlackMisc @@ -21,9 +22,16 @@ namespace BlackMisc { //! Plane of same elevation, can be a single point or larger area (e.g. airport) //! \remark 100km/h 1sec => 28m - class BLACKMISC_EXPORT CElevationPlane : public CCoordinateGeodetic + class BLACKMISC_EXPORT CElevationPlane : + public CCoordinateGeodetic, + public Mixin::String { public: + //! Base type + using base_type = CCoordinateGeodetic; + + BLACKMISC_DECLARE_USING_MIXIN_STRING(CElevationPlane) + //! Properties by index enum ColumnIndex {