mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +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:
@@ -429,7 +429,7 @@ struct DynamicProblem : public ::testing::TestWithParam<bool> {
|
||||
DynamicProblem() {
|
||||
Problem::Options options;
|
||||
options.enable_fast_removal = GetParam();
|
||||
problem.reset(new ProblemImpl(options));
|
||||
problem = std::make_unique<ProblemImpl>(options);
|
||||
}
|
||||
|
||||
ParameterBlock* GetParameterBlock(int block) {
|
||||
|
||||
Reference in New Issue
Block a user