mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Removing using std::...
Change-Id: I584402e2a34869183c1d59071a15d97b216c52fb
This commit is contained in:
@@ -51,9 +51,6 @@
|
||||
namespace ceres {
|
||||
namespace internal {
|
||||
|
||||
using std::string;
|
||||
using std::vector;
|
||||
|
||||
const bool kAutomaticOrdering = true;
|
||||
const bool kUserOrdering = false;
|
||||
|
||||
@@ -68,7 +65,7 @@ class BundleAdjustmentProblem {
|
||||
BuildProblem();
|
||||
}
|
||||
BundleAdjustmentProblem() {
|
||||
const string input_file = TestFileAbsolutePath("problem-16-22106-pre.txt");
|
||||
const std::string input_file = TestFileAbsolutePath("problem-16-22106-pre.txt");
|
||||
ReadData(input_file);
|
||||
BuildProblem();
|
||||
}
|
||||
@@ -98,7 +95,7 @@ class BundleAdjustmentProblem {
|
||||
static double kResidualTolerance;
|
||||
|
||||
private:
|
||||
void ReadData(const string& filename) {
|
||||
void ReadData(const std::string& filename) {
|
||||
FILE* fptr = fopen(filename.c_str(), "r");
|
||||
|
||||
if (!fptr) {
|
||||
|
||||
Reference in New Issue
Block a user