Remove using std::string from port.h
Change-Id: I7376f5e7eace22ec1fc05a61eaa858594f08682d
diff --git a/include/ceres/solver.h b/include/ceres/solver.h
index dc06151..cfa2974 100644
--- a/include/ceres/solver.h
+++ b/include/ceres/solver.h
@@ -141,7 +141,7 @@
// 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 ----------------------------------------
@@ -683,7 +683,7 @@
// non-empty if trust_region_minimizer_iterations_to_dump is
// non-empty and trust_region_problem_dump_format_type is not
// CONSOLE.
- string trust_region_problem_dump_directory;
+ std::string trust_region_problem_dump_directory;
DumpFormatType trust_region_problem_dump_format_type;
// Finite differences options ----------------------------------------------
@@ -755,11 +755,11 @@
// 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;
@@ -769,7 +769,7 @@
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.