push back arguments changed to const reference

release/4.3a0
Sushmita 2020-11-28 22:50:05 -05:00
parent 362afce864
commit b4f1db5a01
1 changed files with 2 additions and 2 deletions

View File

@ -1119,7 +1119,7 @@ class CameraSetCal3Bundler {
// structure specific methods // structure specific methods
gtsam::PinholeCameraCal3Bundler at(size_t i) const; gtsam::PinholeCameraCal3Bundler at(size_t i) const;
void push_back(gtsam::PinholeCameraCal3Bundler& cam) const; void push_back(const gtsam::PinholeCameraCal3Bundler& cam);
}; };
class CameraSetCal3_S2 { class CameraSetCal3_S2 {
@ -1132,7 +1132,7 @@ class CameraSetCal3_S2 {
// structure specific methods // structure specific methods
gtsam::PinholeCameraCal3_S2 at(size_t i) const; 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 <gtsam/geometry/StereoCamera.h> #include <gtsam/geometry/StereoCamera.h>