diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-10-13 17:42:53 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-10-13 17:42:53 +0100 |
commit | 40799fe51fa1fc67d4fad71c335437166234f9fc (patch) | |
tree | b9a14e8f192a10edb6918774b2f3b4a9311567f1 | |
parent | 10482a65989967be8b4a6a85114fcebc5e786f7d (diff) | |
download | gcc-40799fe51fa1fc67d4fad71c335437166234f9fc.zip gcc-40799fe51fa1fc67d4fad71c335437166234f9fc.tar.gz gcc-40799fe51fa1fc67d4fad71c335437166234f9fc.tar.bz2 |
Add missing <random> header in testcase
* testsuite/experimental/algorithm/sample.cc: Add missing header.
From-SVN: r241130
-rw-r--r-- | libstdc++-v3/ChangeLog | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/experimental/algorithm/sample.cc | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bfaeb70..f179fc9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2016-10-13 Jonathan Wakely <jwakely@redhat.com> + * testsuite/experimental/algorithm/sample.cc: Add missing header. + * include/experimental/propagate_const (element_type): Qualify declval. diff --git a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc index 19681d7..0d84e9d 100644 --- a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc +++ b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc @@ -22,6 +22,7 @@ #include <sstream> #include <forward_list> #include <vector> +#include <random> #include <testsuite_hooks.h> std::mt19937 rng; |