changed const string to const string & in load
parent
adabafa9f0
commit
00fd3cebcf
|
@ -13,7 +13,7 @@ namespace gtsam {
|
|||
using namespace std;
|
||||
|
||||
/* ************************************************************************* */
|
||||
void Cal3_S2::load(const std::string path) {
|
||||
void Cal3_S2::load(const std::string &path) {
|
||||
char buffer[200];
|
||||
buffer[0] = 0;
|
||||
sprintf(buffer, "%s/calibration_info.txt", path.c_str());
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace gtsam {
|
|||
/**
|
||||
* load calibration from location (default name is calibration_info.txt)
|
||||
*/
|
||||
void load(const std::string path);
|
||||
void load(const std::string &path);
|
||||
|
||||
/**
|
||||
* Given 5-dim tangent vector, create new calibration
|
||||
|
|
Loading…
Reference in New Issue