Include header for std::__parallel::search

* include/experimental/functional: Include <parallel/algorithm> in
	Parallel Mode.

From-SVN: r238342
This commit is contained in:
Jonathan Wakely 2016-07-14 16:43:17 +01:00 committed by Jonathan Wakely
parent 47d5cb3c3b
commit ea5ec6b7e0
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2016-07-14 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/functional: Include <parallel/algorithm> in
Parallel Mode.
* testsuite/experimental/functional/searchers.cc: Include <algorithm>
for std::search.

View File

@ -42,6 +42,9 @@
#include <vector>
#include <array>
#include <bits/stl_algo.h>
#ifdef _GLIBCXX_PARALLEL
# include <parallel/algorithm> // For std::__parallel::search
#endif
namespace std _GLIBCXX_VISIBILITY(default)
{