From ce8e57bd381bb3c58e1324c2fb206e333729e613 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Thu, 2 Jun 2016 09:48:23 +0200 Subject: [PATCH] [GL] Add explicit to Surface constructor. --- GeoLib/Surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeoLib/Surface.h b/GeoLib/Surface.h index c7d2933398b..ac6460ac782 100644 --- a/GeoLib/Surface.h +++ b/GeoLib/Surface.h @@ -35,7 +35,7 @@ class SurfaceGrid; class Surface final : public GeoObject { public: - Surface(const std::vector<Point*>& pnt_vec); + explicit Surface(const std::vector<Point*>& pnt_vec); ~Surface(); /// return a geometry type -- GitLab