diff options
| author | Julien Brianceau | 2021-04-07 20:43:50 +0200 |
|---|---|---|
| committer | GitHub | 2021-04-07 20:43:50 +0200 |
| commit | e8cdfdca87ebacd993befdd08ea6aa7e8068ef3d (patch) | |
| tree | 9342e9569feb9178b600d6b95cb1f7d7ed380861 /src/catch2/internal/catch_enum_values_registry.cpp | |
| parent | a5abec9cb5d7a26b94d3da24fd239c28ac2dbf91 (diff) | |
| download | catch3-e8cdfdca87ebacd993befdd08ea6aa7e8068ef3d.tar.gz | |
Fix typos in the code base (#2206)
Note that only documentation and comments are impacted by this change.
Diffstat (limited to 'src/catch2/internal/catch_enum_values_registry.cpp')
| -rw-r--r-- | src/catch2/internal/catch_enum_values_registry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/internal/catch_enum_values_registry.cpp b/src/catch2/internal/catch_enum_values_registry.cpp index cfa206f9..b4f425d4 100644 --- a/src/catch2/internal/catch_enum_values_registry.cpp +++ b/src/catch2/internal/catch_enum_values_registry.cpp @@ -21,7 +21,7 @@ namespace Catch { // Extracts the actual name part of an enum instance // In other words, it returns the Blue part of Bikeshed::Colour::Blue StringRef extractInstanceName(StringRef enumInstance) { - // Find last occurence of ":" + // Find last occurrence of ":" size_t name_start = enumInstance.size(); while (name_start > 0 && enumInstance[name_start - 1] != ':') { --name_start; |