1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

calib3d: apply CV_OVERRIDE/CV_FINAL

This commit is contained in:
Alexander Alekhin
2018-03-15 16:16:55 +03:00
parent 0854dc3320
commit bdbd0129af
9 changed files with 103 additions and 102 deletions
+3 -3
View File
@@ -77,7 +77,7 @@
namespace cv
{
class LMSolverImpl : public LMSolver
class LMSolverImpl CV_FINAL : public LMSolver
{
public:
LMSolverImpl() : maxIters(100) { init(); }
@@ -89,7 +89,7 @@ public:
printInterval = 0;
}
int run(InputOutputArray _param0) const
int run(InputOutputArray _param0) const CV_OVERRIDE
{
Mat param0 = _param0.getMat(), x, xd, r, rd, J, A, Ap, v, temp_d, d;
int ptype = param0.type();
@@ -198,7 +198,7 @@ public:
return iter;
}
void setCallback(const Ptr<LMSolver::Callback>& _cb) { cb = _cb; }
void setCallback(const Ptr<LMSolver::Callback>& _cb) CV_OVERRIDE { cb = _cb; }
Ptr<LMSolver::Callback> cb;