summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst
index b0c2cd5ef40..353f35a8649 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst
@@ -15,7 +15,7 @@ Below are two examples of what kind of occurrences will be found and two example
std::random_shuffle(vec.begin(), vec.end());
// Second example
- std::random_shuffle(vec.begin(), vec.end(), randomFun);
+ std::random_shuffle(vec.begin(), vec.end(), randomFunc);
Both of these examples will be replaced with:
OpenPOWER on IntegriCloud