From 4896838d33e30af3cba9cd0ae45d7810133fa307 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 3 Jul 2021 19:48:28 +0200 Subject: [PATCH] Fix typos found via `codespell --skip .git -w` --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index d6cf8a7..7f8f928 100644 --- a/main.cpp +++ b/main.cpp @@ -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; } }