From b4f1db5a013a297bd6f89bad22ef2b9b0a90d621 Mon Sep 17 00:00:00 2001 From: Sushmita Date: Sat, 28 Nov 2020 22:50:05 -0500 Subject: [PATCH] push back arguments changed to const reference --- gtsam/gtsam.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/gtsam.i b/gtsam/gtsam.i index 28ed01111..f6c2da853 100644 --- a/gtsam/gtsam.i +++ b/gtsam/gtsam.i @@ -1119,7 +1119,7 @@ class CameraSetCal3Bundler { // structure specific methods gtsam::PinholeCameraCal3Bundler at(size_t i) const; - void push_back(gtsam::PinholeCameraCal3Bundler& cam) const; + void push_back(const gtsam::PinholeCameraCal3Bundler& cam); }; class CameraSetCal3_S2 { @@ -1132,7 +1132,7 @@ class CameraSetCal3_S2 { // structure specific methods gtsam::PinholeCameraCal3_S2 at(size_t i) const; - void push_back(gtsam::PinholeCameraCal3_S2& cam) const; + void push_back(const gtsam::PinholeCameraCal3_S2& cam); }; #include