From c43e76286d123721c829f9b9cdeda6d9705d70ee Mon Sep 17 00:00:00 2001 From: Krishna Vedala Date: Thu, 28 May 2020 14:10:24 -0400 Subject: [PATCH] mark constructor function call as explicit --- others/smallest-circle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/others/smallest-circle.cpp b/others/smallest-circle.cpp index a0a2302fa..c1bd74de0 100644 --- a/others/smallest-circle.cpp +++ b/others/smallest-circle.cpp @@ -20,7 +20,7 @@ struct Point { * \param [in] a absicca (default = 0.0) * \param [in] b ordinate (default = 0.0) */ - Point(double a = 0.f, double b = 0.f) { + explicit Point(double a = 0.f, double b = 0.f) { x = a; y = b; }