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; }