diff --git a/src/aliceVision/feature/ImageDescriber.cpp b/src/aliceVision/feature/ImageDescriber.cpp index cb64bc830d..55e1435211 100644 --- a/src/aliceVision/feature/ImageDescriber.cpp +++ b/src/aliceVision/feature/ImageDescriber.cpp @@ -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); } diff --git a/src/aliceVision/image/io.cpp b/src/aliceVision/image/io.cpp index 0b3b48b9df..ce51255cb5 100644 --- a/src/aliceVision/image/io.cpp +++ b/src/aliceVision/image/io.cpp @@ -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); } @@ -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); } diff --git a/src/aliceVision/mvsData/imageIO.cpp b/src/aliceVision/mvsData/imageIO.cpp index 3fb01b7310..bf3d234d14 100644 --- a/src/aliceVision/mvsData/imageIO.cpp +++ b/src/aliceVision/mvsData/imageIO.cpp @@ -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); } diff --git a/src/aliceVision/sfmDataIO/sfmDataIO.cpp b/src/aliceVision/sfmDataIO/sfmDataIO.cpp index 43f43d5752..25ea085046 100644 --- a/src/aliceVision/sfmDataIO/sfmDataIO.cpp +++ b/src/aliceVision/sfmDataIO/sfmDataIO.cpp @@ -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);