Permalink
Browse files

Sort - call by reference

  • Loading branch information...
1 parent d43b876 commit 9c877ae6115daec27fa1a522686861c31e9c5a62 @ritsz ritsz committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SIFT_Descriptor.cpp
View
@@ -15,7 +15,7 @@
using namespace cv;
//Sorting Comparison Function - Added by Ritesh
-bool myobject (DMatch i,DMatch j)
+bool myobject (const DMatch& i,const DMatch& j)
{
return (i.distance<j.distance);
}

0 comments on commit 9c877ae

Please sign in to comment.