diff --git a/modules/stitching/src/seam_finders.cpp b/modules/stitching/src/seam_finders.cpp index cf733c9ea0..ad5edeeb07 100644 --- a/modules/stitching/src/seam_finders.cpp +++ b/modules/stitching/src/seam_finders.cpp @@ -659,7 +659,7 @@ namespace { template -inline float diffL2Square(const Mat &image1, int y1, int x1, const Mat &image2, int y2, int x2) +float diffL2Square(const Mat &image1, int y1, int x1, const Mat &image2, int y2, int x2) { const T *r1 = image1.ptr(y1); const T *r2 = image2.ptr(y2);