diff options
Diffstat (limited to 'libstdc++-v3/include/parallel/search.h')
-rw-r--r-- | libstdc++-v3/include/parallel/search.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/parallel/search.h b/libstdc++-v3/include/parallel/search.h index 754150ced9d..af6bd8541f6 100644 --- a/libstdc++-v3/include/parallel/search.h +++ b/libstdc++-v3/include/parallel/search.h @@ -100,7 +100,7 @@ namespace __gnu_parallel // Last point to start search. difference_type input_length = (end1 - begin1) - pattern_length; - // Where is first occurence of pattern? defaults to end. + // Where is first occurrence of pattern? defaults to end. difference_type res = (end1 - begin1); // Pattern too long. @@ -128,7 +128,7 @@ namespace __gnu_parallel { // Get new value of res. #pragma omp flush(res) - // No chance for this thread to find first occurence. + // No chance for this thread to find first occurrence. if (res < start) break; while (pred(begin1[start + pos_in_pattern], begin2[pos_in_pattern])) |