summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-08-28 22:14:37 +0000
committerEric Fiselier <eric@efcs.ca>2016-08-28 22:14:37 +0000
commite7154709e02a388db2d8dce91860f2452f4145e0 (patch)
treed7cd66939217540b5b74d9a8484da38ed3179f42 /libcxx/test/support
parent040411762fde039dcd1a7f513d95d01266bfa94d (diff)
downloadbcm5719-llvm-e7154709e02a388db2d8dce91860f2452f4145e0.tar.gz
bcm5719-llvm-e7154709e02a388db2d8dce91860f2452f4145e0.zip
Implement C++17 std::sample.
This patch implements the std::sample function added to C++17 from LFTS. It also removes the std::experimental::sample implementation which now forwards to std::sample. llvm-svn: 279948
Diffstat (limited to 'libcxx/test/support')
-rw-r--r--libcxx/test/support/test_iterators.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/test_iterators.h b/libcxx/test/support/test_iterators.h
index fb5c06ad943..379933eb51b 100644
--- a/libcxx/test/support/test_iterators.h
+++ b/libcxx/test/support/test_iterators.h
@@ -57,7 +57,7 @@ template <class It,
class ItTraits = It>
class input_iterator
{
- using Traits = std::iterator_traits<ItTraits>;
+ typedef std::iterator_traits<ItTraits> Traits;
It it_;
template <class U, class T> friend class input_iterator;
OpenPOWER on IntegriCloud