From 6d4d36270163ecc8fbbd80435119f38cd9fc1218 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Mon, 28 Dec 2015 10:43:50 +0100 Subject: [PATCH] Warning fix: uninitialized variable --- Apollonius_graph_2/include/CGAL/Apollonius_site_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Apollonius_graph_2/include/CGAL/Apollonius_site_2.h b/Apollonius_graph_2/include/CGAL/Apollonius_site_2.h index cdd60bc599c..f6f555c599c 100644 --- a/Apollonius_graph_2/include/CGAL/Apollonius_site_2.h +++ b/Apollonius_graph_2/include/CGAL/Apollonius_site_2.h @@ -75,8 +75,8 @@ template std::istream& operator>>(std::istream& is, Apollonius_site_2& wp) { - typename Apollonius_site_2::Weight weight; - typename Apollonius_site_2::Point_2 p; + typename Apollonius_site_2::Weight weight (0.); + typename Apollonius_site_2::Point_2 p (0., 0.); is >> p >> weight; if(is) { wp = Apollonius_site_2(p, weight);