From 76c9adaff10059ac16ccc81113d7fc4ed2f3c5a1 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Thu, 2 Jun 2016 09:36:57 +0200 Subject: [PATCH] [GL] Make class Surface final. --- GeoLib/Surface.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GeoLib/Surface.h b/GeoLib/Surface.h index ac00d690c87..c7d2933398b 100644 --- a/GeoLib/Surface.h +++ b/GeoLib/Surface.h @@ -32,14 +32,14 @@ class SurfaceGrid; * to a vector of (pointers to) points (_sfc_pnts) and a vector that stores * the Triangles consisting of points from _sfc_pnts. * */ -class Surface : public GeoObject +class Surface final : public GeoObject { public: Surface(const std::vector<Point*>& pnt_vec); - virtual ~Surface(); + ~Surface(); /// return a geometry type - virtual GEOTYPE getGeoType() const { return GEOTYPE::SURFACE; } + GEOTYPE getGeoType() const override { return GEOTYPE::SURFACE; } /** * adds three indices describing a triangle and updates the bounding box * */ -- GitLab