[PATCH] Add header for std::search to testcase
Jonathan Wakely
jwakely@redhat.com
Thu Jul 14 15:43:00 GMT 2016
On 14/07/16 16:29 +0100, Jonathan Wakely wrote:
> * testsuite/experimental/functional/searchers.cc: Include <algorithm>
> for std::search.
>
>This test was failing in Parallel Mode, because it wasn't including
>the <algorithm> header for std::search.
Actually that fix isn't quite enough. Even if the testcase didn't use
std::search, the <experimental/functional> header does, and so it
needs more than just <bits/stl_algo.h> when Parallel Mode is active.
Tested x86_64-linux, committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 744 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160714/629b8103/attachment.bin>
More information about the Libstdc++
mailing list