summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2016-04-22 07:39:05 +0000
committerMarshall Clow <mclow.lists@gmail.com>2016-04-22 07:39:05 +0000
commitf8997cf5aee8b4bf0210ca156e1b2fbb8cf6bc07 (patch)
tree7401b1a797be18cd78be15c8e8bd9453371e9162 /libcxx/test/std/numerics
parent0642a21f1d77ff1e7c31d4d83b03d67ea18be82d (diff)
downloadbcm5719-llvm-f8997cf5aee8b4bf0210ca156e1b2fbb8cf6bc07.tar.gz
bcm5719-llvm-f8997cf5aee8b4bf0210ca156e1b2fbb8cf6bc07.zip
Add missing include of <algorithm>
llvm-svn: 267119
Diffstat (limited to 'libcxx/test/std/numerics')
-rw-r--r--libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/eval.pass.cpp1
-rw-r--r--libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/eval_param.pass.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/eval.pass.cpp b/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/eval.pass.cpp
index 5d14b3612b2..0472afa24aa 100644
--- a/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/eval.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/eval.pass.cpp
@@ -20,6 +20,7 @@
#include <vector>
#include <iterator>
#include <numeric>
+#include <algorithm> // for sort
#include <cassert>
template <class T>
diff --git a/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/eval_param.pass.cpp b/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/eval_param.pass.cpp
index fe704228e78..0f23ca213c5 100644
--- a/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/eval_param.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/eval_param.pass.cpp
@@ -20,6 +20,7 @@
#include <vector>
#include <iterator>
#include <numeric>
+#include <algorithm> // for sort
#include <cassert>
template <class T>
OpenPOWER on IntegriCloud