From 3c6fbd933b59fe247779146913fbca5b9656019f Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 4 Dec 2015 13:04:38 +0200 Subject: [PATCH] Add a forgotten & to a getter --- source/geometry/boundingsphere.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }; -- 2.43.0