[PATCH] Add missing <random> header in testcase
Jonathan Wakely
jwakely@redhat.com
Thu Oct 13 16:42:00 GMT 2016
Another one that fails without PCH.
* testsuite/experimental/algorithm/sample.cc: Add missing header.
Tested x86_64-linux, committed to trunk.
-------------- next part --------------
commit b6ba4386fc81777bd4a06b2807b03b38f7f85d76
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Oct 13 17:42:03 2016 +0100
Add missing <random> header in testcase
* testsuite/experimental/algorithm/sample.cc: Add missing header.
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;
More information about the Gcc-patches
mailing list