diff mbox

Add missing <random> header in testcase

Message ID 20161013164246.GA8363@redhat.com
State New
Headers show

Commit Message

Jonathan Wakely Oct. 13, 2016, 4:42 p.m. UTC
Another one that fails without PCH.

	* testsuite/experimental/algorithm/sample.cc: Add missing header.

Tested x86_64-linux, committed to trunk.
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 mbox

Patch

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;