From 391a29bcaf6de4a89067894595380b06cc516ad2 Mon Sep 17 00:00:00 2001 From: cbeall3 Date: Thu, 10 Jul 2014 07:51:24 -0400 Subject: [PATCH] const correctness --- gtsam/geometry/StereoPoint2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/geometry/StereoPoint2.h b/gtsam/geometry/StereoPoint2.h index 186afae55..4093413ca 100644 --- a/gtsam/geometry/StereoPoint2.h +++ b/gtsam/geometry/StereoPoint2.h @@ -143,12 +143,12 @@ namespace gtsam { } /** convenient function to get a Point2 from the left image */ - inline Point2 point2(){ + inline Point2 point2() const { return Point2(uL_, v_); } /** convenient function to get a Point2 from the right image */ - inline Point2 right(){ + inline Point2 const right(){ return Point2(uR_, v_); }