From 4ee9cac1c43737229975c084a3ae636c8abfb6ae Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 9 Feb 2010 17:20:44 +0000 Subject: [PATCH] added missing call-by-reference [[Imported from SVN: r5516]] --- src/averagedistanceassembler.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/averagedistanceassembler.hh b/src/averagedistanceassembler.hh index 198e9b2e..60ac52bb 100644 --- a/src/averagedistanceassembler.hh +++ b/src/averagedistanceassembler.hh @@ -19,8 +19,8 @@ class AverageDistanceAssembler<Rotation<3,double> > public: - AverageDistanceAssembler(const std::vector<TargetSpace> coefficients, - const std::vector<double> weights) + AverageDistanceAssembler(const std::vector<TargetSpace>& coefficients, + const std::vector<double>& weights) : coefficients_(coefficients), weights_(weights) {} -- GitLab