Add missing <random> header in testcase
authorJonathan Wakely <jwakely@redhat.com>
Thu, 13 Oct 2016 16:42:53 +0000 (17:42 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 13 Oct 2016 16:42:53 +0000 (17:42 +0100)
* testsuite/experimental/algorithm/sample.cc: Add missing header.

From-SVN: r241130

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/algorithm/sample.cc

index bfaeb703223dc587be634b6a588b16539344aac7..f179fc90b1966ecf06423c511ac97294d4a85b29 100644 (file)
@@ -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.
 
index 19681d7aa69d3e0277d97f9b876696e112ada5fa..0d84e9dd7f42bfb87d79bc6b6019299b58dd268b 100644 (file)
@@ -22,6 +22,7 @@
 #include <sstream>
 #include <forward_list>
 #include <vector>
+#include <random>
 #include <testsuite_hooks.h>
 
 std::mt19937 rng;