diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-07-14 16:27:09 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-07-14 16:27:09 +0100 |
commit | 47d5cb3c3b367f8ef30d909b41a44f9ef5fd4327 (patch) | |
tree | 02e99c37e22cefb8acc2fcc1fabdd2b634fc5e3d | |
parent | 53109ba8a720c135a79b6536c79350e6f1a45895 (diff) | |
download | gcc-47d5cb3c3b367f8ef30d909b41a44f9ef5fd4327.zip gcc-47d5cb3c3b367f8ef30d909b41a44f9ef5fd4327.tar.gz gcc-47d5cb3c3b367f8ef30d909b41a44f9ef5fd4327.tar.bz2 |
Add header for std::search to testcase
* testsuite/experimental/functional/searchers.cc: Include <algorithm>
for std::search.
From-SVN: r238341
-rw-r--r-- | libstdc++-v3/ChangeLog | 3 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/experimental/functional/searchers.cc | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 491e0d8..a47781c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-07-14 Jonathan Wakely <jwakely@redhat.com> + * testsuite/experimental/functional/searchers.cc: Include <algorithm> + for std::search. + PR libstdc++/70716 * include/bits/forward_list.h (forward_list): Update doxygen comments to reflect allocator propagation semantics. Remove ambiguous diff --git a/libstdc++-v3/testsuite/experimental/functional/searchers.cc b/libstdc++-v3/testsuite/experimental/functional/searchers.cc index 5e585f8..143593f 100644 --- a/libstdc++-v3/testsuite/experimental/functional/searchers.cc +++ b/libstdc++-v3/testsuite/experimental/functional/searchers.cc @@ -22,6 +22,7 @@ #ifdef _GLIBCXX_USE_WCHAR_T # include <cwchar> #endif +#include <algorithm> #include <testsuite_hooks.h> using std::experimental::make_default_searcher; |