Fix typos found via `codespell --skip .git -w`

This commit is contained in:
Martchus 2021-07-03 19:48:28 +02:00
parent 923c01bc92
commit 4896838d33
1 changed files with 2 additions and 2 deletions

View File

@ -271,7 +271,7 @@ void printTrackLength(const string &filePath, bool circle)
printDistance(Location::trackLength(locations, circle));
cout << " (" << locations.size() << " trackpoints)";
} catch (const std::ios_base::failure &failure) {
cout << "An IO failure occured when reading file from provided path: " << failure.what() << endl;
cout << "An IO failure occurred when reading file from provided path: " << failure.what() << endl;
}
}
@ -333,6 +333,6 @@ void printMapsLink(const string &filePath)
throw ParseError("At least one location is required to generate a link.");
}
} catch (const std::ios_base::failure &failure) {
cout << "An IO failure occured when reading file from provided path: " << failure.what() << endl;
cout << "An IO failure occurred when reading file from provided path: " << failure.what() << endl;
}
}