From 3fef95b10d6617384bd66b34cb3a01b4f926218c Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 3 Mar 2014 06:14:19 +0000 Subject: [PATCH] Per N3924, mark random_shuffle as deprecated in the synopsis for . Since we don't actually do anything when a call is deprecated, there is no functionality change. Maybe someday, we'll decide to warn when using a deprecated function. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@202672 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/algorithm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/algorithm b/include/algorithm index b022f317f..303ec7d7f 100644 --- a/include/algorithm +++ b/include/algorithm @@ -281,11 +281,12 @@ template template void - random_shuffle(RandomAccessIterator first, RandomAccessIterator last); + random_shuffle(RandomAccessIterator first, RandomAccessIterator last); // deprecated in C++14 template void - random_shuffle(RandomAccessIterator first, RandomAccessIterator last, RandomNumberGenerator& rand); + random_shuffle(RandomAccessIterator first, RandomAccessIterator last, + RandomNumberGenerator& rand); // deprecated in C++14 template void shuffle(RandomAccessIterator first, RandomAccessIterator last,