mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
ClangTidy cleanups
1. NULL -> nullptr 2. foo.reset(new Bar) -> = foo = std::make_unique<Bar>() 3. Missing std library includes & prefixes Change-Id: I260b261b484554be681ee5a7398126fdb3b3a789
This commit is contained in:
@@ -60,14 +60,14 @@ struct CERES_EXPORT_INTERNAL LinearLeastSquaresProblem {
|
||||
};
|
||||
|
||||
// Factories for linear least squares problem.
|
||||
CERES_EXPORT_INTERNAL LinearLeastSquaresProblem*
|
||||
CERES_EXPORT_INTERNAL std::unique_ptr<LinearLeastSquaresProblem>
|
||||
CreateLinearLeastSquaresProblemFromId(int id);
|
||||
|
||||
LinearLeastSquaresProblem* LinearLeastSquaresProblem0();
|
||||
LinearLeastSquaresProblem* LinearLeastSquaresProblem1();
|
||||
LinearLeastSquaresProblem* LinearLeastSquaresProblem2();
|
||||
LinearLeastSquaresProblem* LinearLeastSquaresProblem3();
|
||||
LinearLeastSquaresProblem* LinearLeastSquaresProblem4();
|
||||
std::unique_ptr<LinearLeastSquaresProblem> LinearLeastSquaresProblem0();
|
||||
std::unique_ptr<LinearLeastSquaresProblem> LinearLeastSquaresProblem1();
|
||||
std::unique_ptr<LinearLeastSquaresProblem> LinearLeastSquaresProblem2();
|
||||
std::unique_ptr<LinearLeastSquaresProblem> LinearLeastSquaresProblem3();
|
||||
std::unique_ptr<LinearLeastSquaresProblem> LinearLeastSquaresProblem4();
|
||||
|
||||
// Write the linear least squares problem to disk. The exact format
|
||||
// depends on dump_format_type.
|
||||
|
||||
Reference in New Issue
Block a user