Skip to content
Snippets Groups Projects
Commit 91587a4e authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

taking cv::mat const ref in frame constructor

parent b65f8c1b
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ public:
/**
* \brief Constructor
*/
Frame(const cv::Mat _img, const int& _id = 0, const KeyPointVector _kps = KeyPointVector(), const cv::Mat _desc = cv::Mat()) :
Frame(const cv::Mat& _img, const int& _id = 0, const KeyPointVector _kps = KeyPointVector(), const cv::Mat _desc = cv::Mat()) :
id_(_id),
img_(_img),
kps_(_kps),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment