Skip to content

Commit

Permalink
Merge pull request #1193 from p12tic/fix-typos
Browse files Browse the repository at this point in the history
Fix typo: temporay -> temporary
  • Loading branch information
fabiencastan authored Jul 23, 2022
2 parents 163a24b + 127ee1c commit 4dbf0c2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/aliceVision/feature/ImageDescriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void ImageDescriber::Save(const Regions* regions, const std::string& sfileNameFe

regions->Save(tmpFeatsPath, tmpDescsPath);

// rename temporay filenames
// rename temporary filenames
fs::rename(tmpFeatsPath, sfileNameFeats);
fs::rename(tmpDescsPath, sfileNameDescs);
}
Expand Down
4 changes: 2 additions & 2 deletions src/aliceVision/image/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ void writeImage(const std::string& path,
if(!outBuf->write(tmpPath))
throw std::runtime_error("Can't write output image file '" + path + "'.");

// rename temporay filename
// rename temporary filename
fs::rename(tmpPath, path);
}

Expand Down Expand Up @@ -625,7 +625,7 @@ void writeImageNoFloat(const std::string& path,
if(!outBuf->write(tmpPath))
throw std::runtime_error("Can't write output image file '" + path + "'.");

// rename temporay filename
// rename temporary filename
fs::rename(tmpPath, path);
}

Expand Down
2 changes: 1 addition & 1 deletion src/aliceVision/mvsData/imageIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ void writeImage(const std::string& path,
if(!outBuf->write(tmpPath))
throw std::runtime_error("Can't write output image file '" + path + "'.");

// rename temporay filename
// rename temporary filename
fs::rename(tmpPath, path);
}

Expand Down
2 changes: 1 addition & 1 deletion src/aliceVision/sfmDataIO/sfmDataIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ bool Save(const sfmData::SfMData& sfmData, const std::string& filename, ESfMData
return false;
}

// rename temporay filename
// rename temporary filename
if(status)
fs::rename(tmpPath, filename);

Expand Down

0 comments on commit 4dbf0c2

Please sign in to comment.