mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Remove using namespace std;
For historical reasons we had a "using namespace std;" in port.h. This is generally a bad idea. So removing it and along the way doing a bunch of cpplint cleanup. Change-Id: Ia125601a55ae62695e247fb0250df4c6f86c46c6
This commit is contained in:
@@ -261,7 +261,7 @@ class CERES_EXPORT GradientProblemSolver {
|
||||
// executed, then set update_state_every_iteration to true.
|
||||
//
|
||||
// The solver does NOT take ownership of these pointers.
|
||||
vector<IterationCallback*> callbacks;
|
||||
std::vector<IterationCallback*> callbacks;
|
||||
};
|
||||
|
||||
struct CERES_EXPORT Summary {
|
||||
@@ -292,7 +292,7 @@ class CERES_EXPORT GradientProblemSolver {
|
||||
double final_cost;
|
||||
|
||||
// IterationSummary for each minimizer iteration in order.
|
||||
vector<IterationSummary> iterations;
|
||||
std::vector<IterationSummary> iterations;
|
||||
|
||||
// Sum total of all time spent inside Ceres when Solve is called.
|
||||
double total_time_in_seconds;
|
||||
|
||||
Reference in New Issue
Block a user