From: Mikko Rasa Date: Fri, 4 Dec 2015 11:04:38 +0000 (+0200) Subject: Add a forgotten & to a getter X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=3c6fbd933b59fe247779146913fbca5b9656019f;p=libs%2Fmath.git Add a forgotten & to a getter --- diff --git a/source/geometry/boundingsphere.h b/source/geometry/boundingsphere.h index b27e3a1..66c14d5 100644 --- a/source/geometry/boundingsphere.h +++ b/source/geometry/boundingsphere.h @@ -22,7 +22,7 @@ public: template static BoundingSphere from_point_cloud(const Iter &, const Iter &); - const LinAl::Vector get_center() const { return center; } + const LinAl::Vector &get_center() const { return center; } T get_radius() const { return radius; } bool is_empty() const { return empty; } };