mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Remove using std::string from port.h
Change-Id: I7376f5e7eace22ec1fc05a61eaa858594f08682d
This commit is contained in:
@@ -81,7 +81,7 @@ class CERES_EXPORT GradientProblemSolver {
|
||||
// Returns true if the options struct has a valid
|
||||
// configuration. Returns false otherwise, and fills in *error
|
||||
// with a message describing the problem.
|
||||
bool IsValid(string* error) const;
|
||||
bool IsValid(std::string* error) const;
|
||||
|
||||
// Minimizer options ----------------------------------------
|
||||
LineSearchDirectionType line_search_direction_type;
|
||||
@@ -269,11 +269,11 @@ class CERES_EXPORT GradientProblemSolver {
|
||||
|
||||
// A brief one line description of the state of the solver after
|
||||
// termination.
|
||||
string BriefReport() const;
|
||||
std::string BriefReport() const;
|
||||
|
||||
// A full multiline description of the state of the solver after
|
||||
// termination.
|
||||
string FullReport() const;
|
||||
std::string FullReport() const;
|
||||
|
||||
bool IsSolutionUsable() const;
|
||||
|
||||
@@ -281,7 +281,7 @@ class CERES_EXPORT GradientProblemSolver {
|
||||
TerminationType termination_type;
|
||||
|
||||
// Reason why the solver terminated.
|
||||
string message;
|
||||
std::string message;
|
||||
|
||||
// Cost of the problem (value of the objective function) before
|
||||
// the optimization.
|
||||
|
||||
Reference in New Issue
Block a user