Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal/catch_string_manip.cpp
diff options
context:
space:
mode:
authorChris Thrasher2025-04-26 18:46:49 -0600
committerChris Thrasher2025-04-26 22:46:42 -0600
commit4c93a595a1d9ecc8aacb7c99f6dbf0f1f2d475fa (patch)
tree56d96b6673ea8efa8d88e8735c196446c774be4a /src/catch2/internal/catch_string_manip.cpp
parente8f4b60e62b326221ed128a76a864a4f6d76fbf0 (diff)
downloadcatch3-4c93a595a1d9ecc8aacb7c99f6dbf0f1f2d475fa.tar.gz
Fix typos
Diffstat (limited to 'src/catch2/internal/catch_string_manip.cpp')
-rw-r--r--src/catch2/internal/catch_string_manip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/internal/catch_string_manip.cpp b/src/catch2/internal/catch_string_manip.cpp
index ce1abaa0..68983787 100644
--- a/src/catch2/internal/catch_string_manip.cpp
+++ b/src/catch2/internal/catch_string_manip.cpp
@@ -74,7 +74,7 @@ namespace Catch {
std::string origStr = CATCH_MOVE(str);
str.clear();
// There is at least one replacement, so reserve with the best guess
- // we can make without actually counting the number of occurences.
+ // we can make without actually counting the number of occurrences.
str.reserve(origStr.size() - replaceThis.size() + withThis.size());
do {
str.append(origStr, copyBegin, i-copyBegin );