diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-01 12:20:13 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-01 12:20:13 +0400 |
commit | a2027237edc49d5b7926f5de6df855d163edcf8e (patch) | |
tree | 606ec946969309fd6bbe6f3ac37ab4402425e41a /extern | |
parent | 2de9ce794015181c7c6ff9fdaddc166b067399db (diff) |
Pass data to modal reprojection cost functor by reference
Seems it solves alignment error reported by 32bit MSVC.
Diffstat (limited to 'extern')
-rw-r--r-- | extern/libmv/libmv/simple_pipeline/modal_solver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/libmv/libmv/simple_pipeline/modal_solver.cc b/extern/libmv/libmv/simple_pipeline/modal_solver.cc index aa2fa9a8a9d..e14f1db272b 100644 --- a/extern/libmv/libmv/simple_pipeline/modal_solver.cc +++ b/extern/libmv/libmv/simple_pipeline/modal_solver.cc @@ -56,7 +56,7 @@ void ModalSolverLogProress(ProgressUpdateCallback *update_callback, } struct ModalReprojectionError { - ModalReprojectionError(Vec2 marker, Vec3 bundle) + ModalReprojectionError(Vec2 &marker, Vec3 &bundle) : marker(marker), bundle(bundle) { } template <typename T> |